Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
0b4607cc12
commit
bab116ce76
12
libmpc.spec
12
libmpc.spec
@ -79,18 +79,6 @@ Requires: mpfr-devel gmp-devel
|
|||||||
%description devel
|
%description devel
|
||||||
Header files and shared object symlinks for MPC is a C library.
|
Header files and shared object symlinks for MPC is a C library.
|
||||||
|
|
||||||
%post devel
|
|
||||||
if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
|
|
||||||
/sbin/install-info %{_infodir}/mpc.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun devel
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
if [ -f %{_infodir}/mpc.info.gz ]; then # for --excludedocs
|
|
||||||
/sbin/install-info --delete %{_infodir}/mpc.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libmpc.so
|
%{_libdir}/libmpc.so
|
||||||
%{_includedir}/mpc.h
|
%{_includedir}/mpc.h
|
||||||
|
Loading…
Reference in New Issue
Block a user