Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
263729c7ef
commit
0598fac554
@ -264,8 +264,6 @@ BuildRequires: gettext, flex, zlib-devel
|
|||||||
BuildRequires: texinfo >= 4.0
|
BuildRequires: texinfo >= 4.0
|
||||||
# BZ 920545: We need pod2man in order to build the manual pages.
|
# BZ 920545: We need pod2man in order to build the manual pages.
|
||||||
BuildRequires: /usr/bin/pod2man
|
BuildRequires: /usr/bin/pod2man
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
%else
|
%else
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
%endif
|
%endif
|
||||||
@ -320,8 +318,6 @@ converting addresses to file and line).
|
|||||||
Summary: BFD and opcodes static and dynamic libraries and header files
|
Summary: BFD and opcodes static and dynamic libraries and header files
|
||||||
Provides: binutils-static = %{version}-%{release}
|
Provides: binutils-static = %{version}-%{release}
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
%endif
|
%endif
|
||||||
Requires: zlib-devel
|
Requires: zlib-devel
|
||||||
Requires: binutils = %{version}-%{release}
|
Requires: binutils = %{version}-%{release}
|
||||||
@ -699,13 +695,6 @@ fi
|
|||||||
|
|
||||||
%if %{isnative}
|
%if %{isnative}
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%if %{with docs}
|
|
||||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
|
||||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
|
|
||||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
|
|
||||||
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/ld.info.gz
|
|
||||||
%endif # with docs
|
|
||||||
%endif # isnative
|
%endif # isnative
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
@ -720,18 +709,6 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
%endif # both ld.gold and ld.bfd
|
%endif # both ld.gold and ld.bfd
|
||||||
|
|
||||||
%if %{isnative}
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
if [ -e %{_infodir}/binutils.info.gz ]
|
|
||||||
then
|
|
||||||
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
|
|
||||||
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
|
|
||||||
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
|
|
||||||
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
%endif # isnative
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user