Rename the binutils-static package to binutils-devel in line with the

Fedora packaging guidelines.
This commit is contained in:
Nicholas Clifton 2010-06-30 10:00:25 +00:00
parent 2ba3bf20b9
commit ebdf2916f0
1 changed files with 16 additions and 6 deletions

View File

@ -17,7 +17,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug} Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.20.51.0.7 Version: 2.20.51.0.7
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv3+ License: GPLv3+
Group: Development/Tools Group: Development/Tools
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
@ -97,18 +97,25 @@ of an object or archive file), strings (for listing printable strings
from files), strip (for discarding symbols), and addr2line (for from files), strip (for discarding symbols), and addr2line (for
converting addresses to file and line). converting addresses to file and line).
%package static %package devel
Summary: BFD and opcodes static and dynamic libraries and header files Summary: BFD and opcodes static and dynamic libraries and header files
Group: System Environment/Libraries Group: System Environment/Libraries
Provides: binutils-devel = %{version}-%{release} Provides: binutils-static = %{version}-%{release}
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info Requires(preun): /sbin/install-info
Requires: zlib-devel Requires: zlib-devel
%description static %description devel
This package contains BFD and opcodes static and dynamic libraries. This package contains BFD and opcodes static and dynamic libraries.
The dynamic libraries are in this package, rather than a seperate The dynamic libraries are in this package, rather than a seperate
devel package because the API of the BFD library is unstable. base package because they are actually linker scripts that force
the use of the static libraries. This is because the API of the
BFD library is too unstable to be used dynamically.
The static libraries are here because they are now needed by the
dynamic libraries.
Developers starting new projects are strongly encouraged to consider Developers starting new projects are strongly encouraged to consider
using libelf instead of BFD. using libelf instead of BFD.
@ -401,7 +408,7 @@ exit 0
%{_infodir}/[^b]*info* %{_infodir}/[^b]*info*
%{_infodir}/binutils*info* %{_infodir}/binutils*info*
%files static %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_prefix}/include/* %{_prefix}/include/*
%{_libdir}/lib*.a %{_libdir}/lib*.a
@ -412,6 +419,9 @@ exit 0
%endif # %{isnative} %endif # %{isnative}
%changelog %changelog
* Wed Jun 30 2010 Nick Clifton <nickc@redhat.com> - 2.20.51.0.7-5
- Rename the binutils-static package to binutils-devel in line with the Fedora packaging guidelines.
* Wed Jun 9 2010 Nick Clifton <nickc@redhat.com> - 2.20.51.0.7-4 * Wed Jun 9 2010 Nick Clifton <nickc@redhat.com> - 2.20.51.0.7-4
- Allow GOLD linker to parse "-l<name>" directives inside INPUT statements in linker scripts. (BZ 600553) - Allow GOLD linker to parse "-l<name>" directives inside INPUT statements in linker scripts. (BZ 600553)