SHA256
6
0
forked from pool/binutils

Accepting request 25932 from home:jengelh:branches:devel:gcc

Copy from home:jengelh:branches:devel:gcc/binutils via accept of submit request 25932 revision 2.
Request was accepted with message:
reviewed ok.

OBS-URL: https://build.opensuse.org/request/show/25932
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=11
This commit is contained in:
2009-12-07 16:53:25 +00:00
committed by Git OBS Bridge
parent 11203e4515
commit 10be67e8eb
34 changed files with 152 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package cross-sparc-binutils (Version 2.20.0)
# spec file for package binutils (Version 2.20.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,7 +17,7 @@
Name: cross-sparc-binutils
Name: cross-sparc-binutils
BuildRequires: bison dejagnu flex gcc-c++
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
@@ -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
@@ -244,7 +244,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