[avr-gcc/f17] rebuilt with real 4.7.3 sources

Michal Hlavinka mhlavink at fedoraproject.org
Wed Jun 12 19:37:40 UTC 2013


commit 38970c2418a2d3fcc59eceeb60b553cc9039a5f0
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Wed Jun 12 21:37:27 2013 +0200

    rebuilt with real 4.7.3 sources

 .gitignore   |    4 ++++
 avr-gcc.spec |   21 ++++++++++++++++++---
 sources      |    2 +-
 3 files changed, 23 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 043387b..40df207 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,8 @@ gcc-g++-4.5.1.tar.bz2
 /gcc-g++-4.6.1.tar.bz2
 /gcc-core-4.6.2.tar.bz2
 /gcc-g++-4.6.2.tar.bz2
+/gcc-core-4.6.3.tar.bz2
+/gcc-g++-4.6.3.tar.bz2
 /gcc-4.7.2.tar.bz2
+/gcc-4.7-20130216.tar.bz2
+/gcc-4.7.3.tar.bz2
diff --git a/avr-gcc.spec b/avr-gcc.spec
index 84190aa..44134c1 100644
--- a/avr-gcc.spec
+++ b/avr-gcc.spec
@@ -1,8 +1,8 @@
 %define target avr
 
 Name:           %{target}-gcc
-Version:        4.7.2
-Release:        1%{?dist}
+Version:        4.7.3
+Release:        2%{?dist}
 Summary:        Cross Compiling GNU GCC targeted at %{target}
 Group:          Development/Languages
 License:        GPLv2+
@@ -13,6 +13,8 @@ Source2:        README.fedora
 Patch0:         avr-gcc-4.5.3-mint8.patch
 
 BuildRequires:  %{target}-binutils >= 1:2.23, zlib-devel gawk gmp-devel mpfr-devel libmpc-devel, flex
+#for autoreconf:
+BuildRequires:  gettext-devel autoconf automake
 Requires:       %{target}-binutils >= 1:2.23
 Provides:       bundled(libiberty)
 
@@ -35,8 +37,9 @@ platform.
 
 %prep
 %setup -q -c
-pushd gcc-%{version}
+[ -d gcc-%{version} ] || mv gcc-4.7-* gcc-%{version}
 
+pushd gcc-%{version}
 %patch0 -p0
 
 contrib/gcc_update --touch
@@ -65,6 +68,12 @@ sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' \
 
 
 %build
+pushd gcc-%{version}
+acv=$(autoreconf --version | head -n1)
+acv=${acv##* }
+sed -i "/_GCC_AUTOCONF_VERSION/s/2.64/$acv/" config/override.m4
+autoreconf -fiv
+popd
 mkdir -p gcc-%{target}
 pushd gcc-%{target}
 CC="%{__cc} ${RPM_OPT_FLAGS}" \
@@ -123,6 +132,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jun 12 2013 Michal Hlavinka <mhlavink at redhat.com> - 4.7.3-2
+- rebuilt with real 4.7.3 sources
+
+* Fri Apr 19 2013 Michal Hlavinka <mhlavink at redhat.com> - 4.7.3-1
+- fix aarch64 support (#925063)
+
 * Thu Nov 15 2012 Michal Hlavinka <mhlavink at redhat.com> - 4.7.2-1
 - updated to 4.7.2
 
diff --git a/sources b/sources
index a9c249b..26ae819 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cc308a0891e778cfda7a151ab8a6e762  gcc-4.7.2.tar.bz2
+86f428a30379bdee0224e353ee2f999e  gcc-4.7.3.tar.bz2


More information about the scm-commits mailing list