- Fixed ppc64le name inside of spec file

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=10
This commit is contained in:
Flavio Castelli 2015-06-05 15:27:32 +00:00 committed by Git OBS Bridge
parent 5a40d680c1
commit 9017ee55c3
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 5 15:29:45 UTC 2015 - fcastelli@suse.com
- Fixed ppc64le name inside of spec file
-------------------------------------------------------------------
Fri Jun 5 15:23:47 UTC 2015 - fcastelli@suse.com

View File

@ -51,7 +51,7 @@ Patch101: gcc-go-build-static-libgo.patch
BuildRequires: bash-completion
BuildRequires: device-mapper-devel >= 1.2.68
BuildRequires: glibc-devel-static
%ifarch ppc ppc64 s390x ppc64p7 ppc64l
%ifarch ppc ppc64 s390x ppc64p7 ppc64le
BuildRequires: gcc5-go >= 5.0
%else
BuildRequires: go >= 1.3
@ -113,14 +113,14 @@ Zsh command line completion support for %{name}.
%setup -q -n docker
%patch0 -p1
%patch1 -p1
%ifarch ppc ppc64 s390x ppc64p7 ppc64l
%ifarch ppc ppc64 s390x ppc64p7 ppc64le
%patch100 -p1
%patch101 -p1
%endif
cp %{SOURCE7} .
%build
%ifarch ppc ppc64 s390x ppc64p7 ppc64l
%ifarch ppc ppc64 s390x ppc64p7 ppc64le
mkdir /tmp/dirty-hack
ln -s /usr/bin/go-5 /tmp/dirty-hack/go
export PATH=/tmp/dirty-hack:$PATH