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