Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
a71fb3364e
commit
d895623061
57
gcc.spec
57
gcc.spec
@ -1935,66 +1935,15 @@ end
|
|||||||
|
|
||||||
%ldconfig_scriptlets -n libgnat
|
%ldconfig_scriptlets -n libgnat
|
||||||
|
|
||||||
%post -n libgomp
|
%ldconfig_scriptlets -n libgomp
|
||||||
/sbin/ldconfig
|
|
||||||
if [ -f %{_infodir}/libgomp.info.gz ]; then
|
|
||||||
/sbin/install-info \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun -n libgomp
|
|
||||||
if [ $1 = 0 -a -f %{_infodir}/libgomp.info.gz ]; then
|
|
||||||
/sbin/install-info --delete \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libgomp.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun -n libgomp -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%ldconfig_scriptlets gdb-plugin
|
%ldconfig_scriptlets gdb-plugin
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libgccjit
|
%ldconfig_scriptlets -n libgccjit
|
||||||
|
|
||||||
%post -n libgccjit-devel
|
%ldconfig_scriptlets -n libgquadmath
|
||||||
if [ -f %{_infodir}/libgccjit.info.gz ]; then
|
|
||||||
/sbin/install-info \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libgccjit.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun -n libgccjit-devel
|
%ldconfig_scriptlets -n libitm
|
||||||
if [ $1 = 0 -a -f %{_infodir}/libgccjit.info.gz ]; then
|
|
||||||
/sbin/install-info --delete \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libgccjit.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%post -n libquadmath
|
|
||||||
/sbin/ldconfig
|
|
||||||
if [ -f %{_infodir}/libquadmath.info.gz ]; then
|
|
||||||
/sbin/install-info \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libquadmath.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun -n libquadmath
|
|
||||||
if [ $1 = 0 -a -f %{_infodir}/libquadmath.info.gz ]; then
|
|
||||||
/sbin/install-info --delete \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libquadmath.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun -n libquadmath -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n libitm
|
|
||||||
/sbin/ldconfig
|
|
||||||
if [ -f %{_infodir}/libitm.info.gz ]; then
|
|
||||||
/sbin/install-info \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libitm.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun -n libitm
|
|
||||||
if [ $1 = 0 -a -f %{_infodir}/libitm.info.gz ]; then
|
|
||||||
/sbin/install-info --delete \
|
|
||||||
--info-dir=%{_infodir} %{_infodir}/libitm.info.gz || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun -n libitm -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libatomic
|
%ldconfig_scriptlets -n libatomic
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user