diff --git a/.gitignore b/.gitignore index 1a8a648..ffe09fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ binutils-2.20.tar.bz2 /binutils-2.21.tar.bz2 +/binutils-2.23.1.tar.bz2 diff --git a/avr-binutils.spec b/avr-binutils.spec index 292b384..6674764 100644 --- a/avr-binutils.spec +++ b/avr-binutils.spec @@ -1,8 +1,8 @@ %define target avr Name: %{target}-binutils -Version: 2.20 -Release: 5%{?dist} +Version: 2.23.1 +Release: 1%{?dist} Epoch: 1 Summary: Cross Compiling GNU binutils targeted at %{target} Group: Development/Tools @@ -10,6 +10,8 @@ License: GPLv2+ URL: http://www.gnu.org/software/binutils/ Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{version}.tar.bz2 Source1: README.fedora +#add widespread options to avr-size: --format=avr -mcu=XX +Patch1: http://distribute.atmel.no/tools/opensource/avr-gcc/binutils-2.20.1/30-binutils-2.20.1-avr-size.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) BuildRequires: gawk texinfo Provides: bundled(libiberty) @@ -22,7 +24,9 @@ native %{_arch} platform. %prep %setup -q -c - +pushd binutils-%{version} +%patch1 -p0 -b .avr-size +popd cp %{SOURCE1} . @@ -62,6 +66,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Nov 15 2012 Michal Hlavinka - 1:2.23.1-1 +- updated to 2.23.1 +- added new option --format=avr to avr-size for compatibility reasons + with other avr toolchains + * Mon Oct 15 2012 Jon Ciesla - 1:2.20-5 - Provides: bundled(libiberty) diff --git a/sources b/sources index a72b2d9..97adf8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ee2d3e996e9a2d669808713360fa96f8 binutils-2.20.tar.bz2 +33adb18c3048d057ac58d07a3f1adb38 binutils-2.23.1.tar.bz2