diff --git a/binutils.changes b/binutils.changes index f1a91b6..b20a5ec 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/binutils.spec b/binutils.spec index c3999b7..51b7cc1 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ # # spec file for package binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -162,7 +163,7 @@ AutoReqProv: on Requires: binutils = %{version}-%{release} Group: Development/Tools/Building %if 0%{suse_version} > 1100 -%define gold_archs %ix86 x86_64 ppc ppc64 sparc sparc64 +%define gold_archs %ix86 x86_64 ppc ppc64 %sparc %endif %description gold @@ -272,7 +273,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -417,7 +418,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -490,9 +491,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 963d60b..7c59913 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-alpha-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 64210cb..b5c8bf9 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-arm-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 9a5a882..2c909d4 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-avr-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 2737021..b96d4e1 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index a71aeed..754cf9d 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-hppa64-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 790d41c..3eb0153 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-i386-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 7c1726c..8e7481f 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ia64-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 31cd099..88b8bd6 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-mips-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index eb50d09..46fa991 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 7bb9c36..5dae726 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-ppc64-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index d46f19e..6e37b68 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index dfb43c3..abb7473 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-s390x-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-sh4-binutils.changes b/cross-sh4-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-sh4-binutils.changes +++ b/cross-sh4-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-sh4-binutils.spec b/cross-sh4-binutils.spec index e510303..4e9f233 100644 --- a/cross-sh4-binutils.spec +++ b/cross-sh4-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sh4-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 237f79f..9ba5e07 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-sparc-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 80f615e..ec6e85e 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-spu-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index f1a91b6..b20a5ec 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + +- Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + +------------------------------------------------------------------- +Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + +- SPARC build support for binutils + ------------------------------------------------------------------- Wed Nov 4 15:44:30 CET 2009 - matz@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 3254ed6..3199d7f 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -1,7 +1,7 @@ # # spec file for package cross-x86_64-binutils (Version 2.20.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static BuildRequires: zlib-devel %endif Version: 2.20.0 -Release: 1 +Release: 2 # # RUN_TESTS %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) @@ -35,7 +35,7 @@ Release: 1 # # handle test suite failures # -%ifarch alpha armv4l hppa mips sh4 sparc sparc64 +%ifarch alpha armv4l hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -70,6 +70,7 @@ Summary: GNU Binutils Source: binutils-%{binutils_version}.tar.bz2 Source1: pre_checkin.sh Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf Patch2: s390-pic.patch Patch3: binutils-skip-rpaths.patch Patch4: s390-biarch.diff @@ -244,7 +245,7 @@ Authors: %if "%{name}" != "binutils" %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %endif -%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux +%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64.*/sparc/" -e "s/sparcv.*/sparc/")-suse-linux %define DIST %(echo '%distribution' | sed 's/ (.*)//') %prep @@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux %if "%{TARGET}" == "spu" --with-sysroot=/usr/spu \ %else - --with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ + --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \ %endif ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers @@ -443,9 +444,9 @@ make DESTDIR=$RPM_BUILD_ROOT install install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as %endif -rm -rf $RPM_BUILD_ROOT%{_prefix}/man -rm -rf $RPM_BUILD_ROOT%{_prefix}/info -rm -rf $RPM_BUILD_ROOT%{_prefix}/lib +rm -rf $RPM_BUILD_ROOT%{_mandir} +rm -rf $RPM_BUILD_ROOT%{_infodir} +rm -rf $RPM_BUILD_ROOT%{_prefix}/lib* rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang