Remove obsolete 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-27 15:24:49 +01:00
parent e126cdd305
commit fe3308e8cd
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -19,8 +19,6 @@ Patch10: autoconf213-destdir.patch
Patch11: autoconf213-info.patch
Patch12: autoconf213-testsuite.patch
Requires: gawk, m4 >= 1.1, coreutils
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Buildrequires: texinfo, m4 >= 1.1, perl, gawk, dejagnu, flex
BuildArch: noarch
@ -75,14 +73,6 @@ make check
# because it comes from binutils...
rm -f ${RPM_BUILD_ROOT}%{_infodir}/standards*
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%files
%{_bindir}/*
%{_infodir}/*.info*