SHA256
1
0
forked from pool/binutils

Accepting request 29428 from devel:gcc

Copy from devel:gcc/binutils based on submit request 29428 from user matz2

OBS-URL: https://build.opensuse.org/request/show/29428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=43
This commit is contained in:
OBS User autobuild 2010-01-14 14:24:23 +00:00 committed by Git OBS Bridge
commit a80da52c6d
34 changed files with 426 additions and 137 deletions

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -162,7 +163,7 @@ AutoReqProv: on
Requires: binutils = %{version}-%{release} Requires: binutils = %{version}-%{release}
Group: Development/Tools/Building Group: Development/Tools/Building
%if 0%{suse_version} > 1100 %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 %endif
%description gold %description gold
@ -272,7 +273,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -417,7 +418,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-alpha-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-arm-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-avr-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-hppa-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-hppa64-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-i386-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-ia64-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-mips-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-ppc-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-ppc64-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-s390-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-s390x-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-sh4-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-sparc-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-spu-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang

View File

@ -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 Wed Nov 4 15:44:30 CET 2009 - matz@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package cross-x86_64-binutils (Version 2.20.0) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ BuildRequires: zlib-devel-static
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.20.0 Version: 2.20.0
Release: 1 Release: 2
# #
# RUN_TESTS # RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?) %define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@ -35,7 +35,7 @@ Release: 1
# #
# handle test suite failures # handle test suite failures
# #
%ifarch alpha armv4l hppa mips sh4 sparc sparc64 %ifarch alpha armv4l hppa mips sh4 %sparc
%define make_check_handling true %define make_check_handling true
%else %else
# XXX check again # XXX check again
@ -70,6 +70,7 @@ Summary: GNU Binutils
Source: binutils-%{binutils_version}.tar.bz2 Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch2: s390-pic.patch Patch2: s390-pic.patch
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
@ -244,7 +245,7 @@ Authors:
%if "%{name}" != "binutils" %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/") %define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif %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/ (.*)//') %define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep %prep
@ -378,7 +379,7 @@ TARGET_OS=%{TARGET}-linux
%if "%{TARGET}" == "spu" %if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \ --with-sysroot=/usr/spu \
%else %else
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \ --with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif %endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} ${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?jobs:-j%jobs} all-bfd TARGET-bfd=headers 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 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 ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif %endif
rm -rf $RPM_BUILD_ROOT%{_prefix}/man rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/info rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang > ../binutils.lang