Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
a7f5ef751b
commit
a62db8060f
1 changed files with 5 additions and 10 deletions
15
allegro.spec
15
allegro.spec
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue