forked from pool/binutils
- Make it build on SLE-11 again.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=389
This commit is contained in:
parent
ccd355274b
commit
303dd11d49
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -139,7 +139,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -463,7 +463,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -580,6 +580,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -609,6 +610,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -621,15 +623,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 17:52:15 UTC 2022 - Michael Matz <matz@suse.com>
|
||||
|
||||
- Make it build on SLE-11 again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 22 09:13:15 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -142,7 +142,7 @@ Requires: alts
|
||||
%else
|
||||
PreReq: update-alternatives
|
||||
%endif
|
||||
%if 0%{!?cross:1}
|
||||
%if 0%{!?cross:1} && 0%{?suse_version} >= 1310
|
||||
%define gold_archs %ix86 aarch64 %arm x86_64 ppc ppc64 ppc64le s390x %sparc
|
||||
%endif
|
||||
|
||||
@ -466,7 +466,7 @@ chmod a+x %{buildroot}%{_libdir}/libbfd-*
|
||||
chmod a+x %{buildroot}%{_libdir}/libopcodes-*
|
||||
# No shared linking outside binutils
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
|
||||
rm %{buildroot}%{_libdir}/lib{bfd,opcodes,ctf,ctf-nobfd}.la
|
||||
# Remove unwanted files to shut up rpm
|
||||
rm -f %{buildroot}%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
|
||||
rm -f %{buildroot}%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
|
||||
@ -583,6 +583,7 @@ fi;
|
||||
%endif
|
||||
|
||||
%files -f binutils.lang
|
||||
%defattr(-,root,root)
|
||||
%if 0%{!?cross:1}
|
||||
%{_docdir}/%{name}
|
||||
%{_prefix}/%{HOST}/bin/*
|
||||
@ -612,6 +613,7 @@ fi;
|
||||
|
||||
%ifarch %gold_archs
|
||||
%files gold -f binutils-gold.lang
|
||||
%defattr(-,root,root)
|
||||
%doc gold/NEWS gold/README
|
||||
%{_bindir}/gold
|
||||
%{_bindir}/ld.gold
|
||||
@ -624,15 +626,18 @@ fi;
|
||||
|
||||
%if 0%{!?cross:1}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/include/*.h
|
||||
%{_libdir}/lib*.*a
|
||||
%{_libdir}/libctf.so
|
||||
%{_libdir}/libctf-nobfd.so
|
||||
|
||||
%files -n libctf0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf.so.*
|
||||
|
||||
%files -n libctf-nobfd0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libctf-nobfd.so.*
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user