Accepting request 1145692 from home:Kieltux:branches:games
- Use gcc12 for openSUSE Leap, fixes building OBS-URL: https://build.opensuse.org/request/show/1145692 OBS-URL: https://build.opensuse.org/package/show/games/pentobi?expand=0&rev=27
This commit is contained in:
parent
3683c8abfe
commit
8bd41e7e38
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 10 15:58:02 UTC 2024 - Carsten Ziepke <kieltux@gmail.com>
|
||||||
|
|
||||||
|
- Use gcc12 for openSUSE Leap, fixes building
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 7 11:41:45 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
Wed Feb 7 11:41:45 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||||
|
|
||||||
|
11
pentobi.spec
11
pentobi.spec
@ -27,7 +27,6 @@ Source: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar
|
|||||||
BuildRequires: cmake >= 3.18
|
BuildRequires: cmake >= 3.18
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: kio-devel
|
BuildRequires: kio-devel
|
||||||
BuildRequires: libxslt-tools
|
BuildRequires: libxslt-tools
|
||||||
@ -46,6 +45,12 @@ Requires(postun): hicolor-icon-theme
|
|||||||
Requires(postun): update-desktop-files
|
Requires(postun): update-desktop-files
|
||||||
# unresolvable: nothing provides pkgconfig(Qt6WebView)
|
# unresolvable: nothing provides pkgconfig(Qt6WebView)
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64
|
||||||
|
%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
|
||||||
|
BuildRequires: gcc12
|
||||||
|
BuildRequires: gcc12-c++
|
||||||
|
%else
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Pentobi is a computer opponent for the board game Blokus with
|
Pentobi is a computer opponent for the board game Blokus with
|
||||||
@ -57,6 +62,10 @@ save and load games along with comments and move variations.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
|
||||||
|
export CC="gcc-12"
|
||||||
|
export CXX="g++-12"
|
||||||
|
%endif
|
||||||
%cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON .
|
%cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON .
|
||||||
%make_jobs VERBOSE=1
|
%make_jobs VERBOSE=1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user