Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e126cdd305
commit
fe3308e8cd
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user