Update to binutils-2.20.1

This commit is contained in:
Ralf Corsepius
2010-03-05 04:02:34 +00:00
parent c12ebd7eb3
commit e13daed6a1
3 changed files with 9 additions and 14 deletions

View File

@@ -10,9 +10,9 @@ EXTRA_DIST += libs.add
EXTRA_DIST += target-libs.add EXTRA_DIST += target-libs.add
include ../libs.am include ../libs.am
BINUTILS_VERS = 2.19.1 BINUTILS_VERS = 2.20.1
BINUTILS_PKGVERS = $(BINUTILS_VERS) BINUTILS_PKGVERS = $(BINUTILS_VERS)
BINUTILS_RPMREL = 0.20090830.0 BINUTILS_RPMREL = 0.20100305.1
include ../binutils.am include ../binutils.am
BINUTILS_OPTS += BINUTILS_OPTS +=

View File

@@ -1,2 +1,2 @@
Source0: http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2 Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
# Patch0: ... @PATCH0@

View File

@@ -30,15 +30,15 @@
%define _host_rpmprefix %{nil} %define _host_rpmprefix %{nil}
%endif %endif
%define binutils_pkgvers 2.19.1 %define binutils_pkgvers 2.20.1
%define binutils_version 2.19.1 %define binutils_version 2.20.1
%define binutils_rpmvers %{expand:%(echo "2.19.1" | tr - _ )} %define binutils_rpmvers %{expand:%(echo "2.20.1" | tr - _ )}
Name: i386-pc-netbsdelf5.0.1-binutils Name: i386-pc-netbsdelf5.0.1-binutils
Summary: Binutils for target i386-pc-netbsdelf5.0.1 Summary: Binutils for target i386-pc-netbsdelf5.0.1
Group: Development/Tools Group: Development/Tools
Version: %{binutils_rpmvers} Version: %{binutils_rpmvers}
Release: 0.20090830.0%{?dist} Release: 0.20100305.1%{?dist}
License: GPL/LGPL License: GPL/LGPL
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -56,8 +56,7 @@ BuildRequires: texinfo >= 4.2
BuildRequires: flex BuildRequires: flex
BuildRequires: bison BuildRequires: bison
Source0: http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2 Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{binutils_pkgvers}.tar.bz2
# Patch0: ...
%description %description
Cross binutils for target i386-pc-netbsdelf5.0.1 Cross binutils for target i386-pc-netbsdelf5.0.1
@@ -70,10 +69,6 @@ cd binutils-%{binutils_pkgvers}
cd .. cd ..
%build %build
%if "i386-pc-netbsdelf5.0.1" == "i686-pc-cygwin"
# The cygwin sources are leaking memory
RPM_OPT_FLAGS="$(echo "$RPM_OPT_FLAGS"|sed -e 's; -Wp,-D_FORTIFY_SOURCE=2;;')"
%endif
mkdir -p build mkdir -p build
cd build cd build
%if "%{_build}" != "%{_host}" %if "%{_build}" != "%{_host}"