Fix build

RPM build errors:
BUILDSTDERR: error: Installed (but unpackaged) file(s) found:
BUILDSTDERR:    /usr/bin/ld
BUILDSTDERR:    /usr/lib/debug/usr/bin/ld-2.32-9.0.riscv64.fc31.riscv64.debug
BUILDSTDERR:     File listed twice: /usr/share/info/as.info.gz
BUILDSTDERR:     File listed twice: /usr/share/info/binutils.info.gz
BUILDSTDERR:     File listed twice: /usr/share/info/gprof.info.gz
BUILDSTDERR:     File listed twice: /usr/share/info/ld.info.gz
BUILDSTDERR:     Installed (but unpackaged) file(s) found:
BUILDSTDERR:    /usr/bin/ld
BUILDSTDERR:    /usr/lib/debug/usr/bin/ld-2.32-9.0.riscv64.fc31.riscv64.debug

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2019-03-15 13:28:03 +01:00
parent f052716c2b
commit e252bc0073
Signed by: davidlt
GPG Key ID: 7108702C938B13C1

View File

@ -708,6 +708,7 @@ exit 0
%if %{with gold} %if %{with gold}
%{_bindir}/%{?cross}ld* %{_bindir}/%{?cross}ld*
%else %else
%{_bindir}/%{?cross}ld
%{_bindir}/%{?cross}ld.bfd %{_bindir}/%{?cross}ld.bfd
%endif %endif
@ -727,12 +728,6 @@ exit 0
%if %{isnative} %if %{isnative}
%if %{with docs}
%{_infodir}/[^b]*info*
%{_infodir}/binutils*info*
%{_infodir}/bfd*info*
%endif
%files devel %files devel
%{_prefix}/include/* %{_prefix}/include/*
%{_libdir}/lib*.a %{_libdir}/lib*.a
@ -744,7 +739,6 @@ exit 0
%if %{with gold} %if %{with gold}
%files gold %files gold
%{_bindir}/%{?cross}ld.gold %{_bindir}/%{?cross}ld.gold
%ghost %{_bindir}/%{?cross}ld
%endif %endif
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------