From 20ac93bacd790fa130070f358bdd58dda1a62e04 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:01 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- GConf2.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GConf2.spec b/GConf2.spec index cd7ac57..a10028f 100644 --- a/GConf2.spec +++ b/GConf2.spec @@ -114,7 +114,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/GConf/gsettings %find_lang %name %post -/sbin/ldconfig +%{?ldconfig} if [ $1 -gt 1 ]; then if ! fgrep -q gconf.xml.system %{_sysconfdir}/gconf/2/path; then @@ -122,10 +122,9 @@ if [ $1 -gt 1 ]; then fi fi -%postun -p /sbin/ldconfig +%ldconfig_postun %files -f %{name}.lang -%{!?_licensedir:%global license %%doc} %license COPYING %doc NEWS README %config(noreplace) %{_sysconfdir}/gconf/2/path