[mingw32-binutils] Update to 2.22

epienbro epienbro at fedoraproject.org
Tue Jan 10 23:32:06 UTC 2012


commit 8301d311ab127c8180a5562c773ca990fc0b1efb
Author: Erik van Pienbroek <erik at vanpienbroek.nl>
Date:   Wed Jan 11 00:14:43 2012 +0100

    Update to 2.22
    
    - Update to 2.22
    - Dropped unneeded RPM tags
    - Use parallel make

 .gitignore            |    1 +
 mingw32-binutils.spec |   19 ++++++++-----------
 sources               |    2 +-
 3 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c5d06c4..dc2d9e0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 binutils-2.20.1.tar.bz2
 /binutils-2.20.51.0.10.tar.bz2
 /binutils-2.21.tar.bz2
+/binutils-2.22.tar.bz2
diff --git a/mingw32-binutils.spec b/mingw32-binutils.spec
index 250d444..09d2b0f 100644
--- a/mingw32-binutils.spec
+++ b/mingw32-binutils.spec
@@ -1,13 +1,12 @@
 Name:           mingw32-binutils
-Version:        2.21
-Release:        2%{?dist}
+Version:        2.22
+Release:        1%{?dist}
 Summary:        MinGW Windows binutils
 
 License:        GPLv2+ and LGPLv2+ and GPLv3+ and LGPLv3+
 Group:          Development/Libraries
 URL:            http://www.gnu.org/software/binutils/
 Source0:        http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  flex
 BuildRequires:  bison
@@ -43,12 +42,10 @@ CFLAGS="$RPM_OPT_FLAGS" \
   --includedir=%{_includedir} --libdir=%{_libdir} \
   --mandir=%{_mandir} --infodir=%{_infodir}
 
-make all
+make all %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 cd build
 make DESTDIR=$RPM_BUILD_ROOT install
 
@@ -57,12 +54,7 @@ rm -rf $RPM_BUILD_ROOT%{_infodir}
 rm -f ${RPM_BUILD_ROOT}%{_libdir}/libiberty*
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %{_mandir}/man1/*
 %{_bindir}/i686-pc-mingw32-*
 %{_prefix}/i686-pc-mingw32/bin/*
@@ -70,6 +62,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jan 10 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.22-1
+- Update to 2.22
+- Dropped unneeded RPM tags
+- Use parallel make
+
 * Tue May 10 2011 Kalev Lember <kalev at smartlink.ee> - 2.21-2
 - Default to runtime pseudo reloc v2 now that mingw32-runtime 3.18 is in
 
diff --git a/sources b/sources
index 5e7aca2..a4742f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c84c5acc9d266f1a7044b51c85a823f5  binutils-2.21.tar.bz2
+ee0f10756c84979622b992a4a61ea3f5  binutils-2.22.tar.bz2


More information about the scm-commits mailing list