Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:38:30 +01:00
commit a62db8060f
No known key found for this signature in database
GPG key ID: 695714BD1BBC5F4C

View file

@ -282,8 +282,7 @@ install -pm 644 keyboard.dat language.dat $RPM_BUILD_ROOT%{_datadir}/allegro
install -Dpm 644 misc/allegro.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal/allegro.m4
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%post devel
/sbin/install-info %{_infodir}/allegro.info %{_infodir}/dir 2>/dev/null || :
@ -294,17 +293,13 @@ if [ $1 -eq 0 ] ; then
2>/dev/null || :
fi
%post -n alleggl -p /sbin/ldconfig
%postun -n alleggl -p /sbin/ldconfig
%ldconfig_scriptlets -n alleggl
%post -n jpgalleg -p /sbin/ldconfig
%postun -n jpgalleg -p /sbin/ldconfig
%ldconfig_scriptlets -n jpgalleg
%post loadpng -p /sbin/ldconfig
%postun loadpng -p /sbin/ldconfig
%ldconfig_scriptlets loadpng
%post logg -p /sbin/ldconfig
%postun logg -p /sbin/ldconfig
%ldconfig_scriptlets logg
%files