Fix files section

This commit is contained in:
Andrew Lukoshko 2022-10-05 17:15:47 +00:00
parent 421b236303
commit ab25e67de6

View File

@ -845,6 +845,8 @@ if [ -x gold/ld-new ]; then
cat %{?cross}gold.lang >> %{?cross}binutils.lang
fi
find %{buildroot} -name "ctf-spec.info.*" -delete
#----------------------------------------------------------------------------
%if %{with gold}
@ -907,8 +909,8 @@ exit 0
%verify(owner) %{_bindir}/%{?cross}ld
%{_bindir}/%{?cross}ld.bfd
# Do not export any Windows tools (if they were built)
%exclude %{_bindir}/%{?cross}dll*
%exclude %{_bindir}/%{?cross}wind*
# exclude %{_bindir}/%{?cross}dll*
# exclude %{_bindir}/%{?cross}wind*
%if %{with docs}
%{_mandir}/man1/
@ -930,7 +932,7 @@ exit 0
%exclude %{_libdir}/libctf.a
%exclude %{_libdir}/libctf-nobfd.a
%{_libdir}/bfd-plugins/libdep.so
%exclude %{_exec_prefix}/lib/debug/%{_libdir}/bfd-plugins/libdep.so-*
#exclude %{_exec_prefix}/lib/debug/%{_libdir}/bfd-plugins/libdep.so-*
%endif
%if %{isnative}