Spec File: Change License field to use SPDX notation. (#2222113)
This commit is contained in:
parent
93b20dcdbf
commit
49f3d832d9
@ -2,8 +2,8 @@
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: binutils%{?_with_debug:-debug}
|
Name: binutils%{?_with_debug:-debug}
|
||||||
Version: 2.40
|
Version: 2.40
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
License: GPLv3+
|
License: GPL-3.0-or-later
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
#---Start of Configure Options-----------------------------------------------
|
#---Start of Configure Options-----------------------------------------------
|
||||||
@ -958,25 +958,27 @@ install_binutils()
|
|||||||
%make_install DESTDIR=%{buildroot} MAKEINFO=true
|
%make_install DESTDIR=%{buildroot} MAKEINFO=true
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Rebuild libiberty.a with -fPIC.
|
# Rebuild the static libiaries with -fPIC.
|
||||||
# Future: Remove it together with its header file, projects should bundle it.
|
# It would be nice to build the static libraries with -fno-lto so that
|
||||||
|
# they can be used by programs that are built with a different version
|
||||||
|
# of GCC from the one used to build the libraries, but this will trigger
|
||||||
|
# warnings from annocheck.
|
||||||
|
|
||||||
|
# Future: Remove libiberty together with its header file, projects should bundle it.
|
||||||
%make_build -s -C libiberty clean
|
%make_build -s -C libiberty clean
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
|
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libiberty
|
||||||
|
|
||||||
# Rebuild libbfd.a with -fPIC.
|
|
||||||
# Without the hidden visibility the 3rd party shared libraries would export
|
# Without the hidden visibility the 3rd party shared libraries would export
|
||||||
# the bfd non-stable ABI.
|
# the bfd non-stable ABI.
|
||||||
%make_build -s -C bfd clean
|
%make_build -s -C bfd clean
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
|
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS -fvisibility=hidden" -C bfd
|
||||||
|
|
||||||
# Rebuild libopcodes.a with -fPIC.
|
|
||||||
%make_build -s -C opcodes clean
|
%make_build -s -C opcodes clean
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes
|
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C opcodes
|
||||||
|
|
||||||
# Rebuild libsframe.a with -fPIC.
|
|
||||||
%make_build -s -C libsframe clean
|
%make_build -s -C libsframe clean
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libsframe
|
%make_build -s CFLAGS="-g -fPIC $RPM_OPT_FLAGS" -C libsframe
|
||||||
@ -1274,6 +1276,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 17 2023 Nick Clifton <nickc@redhat.com> - 12.20-2
|
||||||
|
- Spec File: Change License field to use SPDX notation. (#2222113)
|
||||||
|
|
||||||
* Wed Jun 21 2023 Nick Clifton <nickc@redhat.com> - 2.40-10
|
* Wed Jun 21 2023 Nick Clifton <nickc@redhat.com> - 2.40-10
|
||||||
- Spec File: Add defines to enable rwx and execstack warnings.
|
- Spec File: Add defines to enable rwx and execstack warnings.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user