Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 6668eba8c8
commit 20ac93bacd
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -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

Loading…
Cancel
Save