Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
f4dc0f3ecf
commit
22423e7314
14
mpfr.spec
14
mpfr.spec
@ -64,20 +64,6 @@ make %{?_smp_mflags} check
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if 0%{?info_scriptlet}
|
||||
%post devel
|
||||
if [ -f %{_infodir}/mpfr.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%preun devel
|
||||
if [ "$1" = 0 ]; then
|
||||
if [ -f %{_infodir}/mpfr.info.gz ]; then
|
||||
/sbin/install-info --delete %{_infodir}/mpfr.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING COPYING.LESSER
|
||||
%doc NEWS README AUTHORS BUGS TODO doc/FAQ.html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user