Accepting request 441053 from home:susnux:branches:games
426762 OBS-URL: https://build.opensuse.org/request/show/441053 OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 20 14:52:27 UTC 2016 - rpm@fthiessen.de
|
||||||
|
|
||||||
|
- Fixed architecture detection in spec file.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 4 15:56:52 UTC 2016 - mvetter@suse.com
|
Fri Nov 4 15:56:52 UTC 2016 - mvetter@suse.com
|
||||||
|
|
||||||
|
@@ -32,7 +32,7 @@ BuildRequires: dos2unix
|
|||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Recommends: xboard
|
Recommends: xboard
|
||||||
Provides: chess_backend
|
Provides: chess_backend
|
||||||
ExclusiveArch: %ix86 x86_64 %arm %{power64}
|
ExclusiveArch: %power64 %ix86 x86_64 armv7l armv7hl armv7hnl
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a
|
Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is not a
|
||||||
@@ -52,14 +52,18 @@ dos2unix Copying.txt
|
|||||||
cd src
|
cd src
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
make %{?_smp_mflags} build ARCH=x86-64
|
make %{?_smp_mflags} build ARCH=x86-64
|
||||||
%else if %{power_64}
|
|
||||||
make %{?_smp_mflags} build ARCH=ppc-64
|
|
||||||
%else if armv7l armv7hl armv7hnl
|
|
||||||
make %{?_smp_mflags} build ARCH=armv7
|
|
||||||
#ix86
|
|
||||||
%else
|
%else
|
||||||
|
%ifarch %power_64
|
||||||
|
make %{?_smp_mflags} build ARCH=ppc-64
|
||||||
|
%else
|
||||||
|
%ifarch armv7l armv7hl armv7hnl
|
||||||
|
make %{?_smp_mflags} build ARCH=armv7
|
||||||
|
%else
|
||||||
|
#ix86
|
||||||
make %{?_smp_mflags} build ARCH=general-32
|
make %{?_smp_mflags} build ARCH=general-32
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
Reference in New Issue
Block a user