This commit is contained in:
parent
dc3df37fb3
commit
59be20e9a2
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 08:48:12 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Don't use dashes with %bcond_without. The parser doesn't like
|
||||
them
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 28 09:46:25 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150400
|
||||
%bcond_without black-hole-solver
|
||||
%bcond_without bhsolver
|
||||
%endif
|
||||
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
||||
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||
@ -35,7 +35,7 @@ Source2: applications.keyring
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: freecell-solver-devel
|
||||
%if %{with black-hole-solver}
|
||||
%if %{with bhsolver}
|
||||
BuildRequires: pkgconfig(libblack-hole-solver)
|
||||
%endif
|
||||
BuildRequires: update-desktop-files
|
||||
@ -79,7 +79,7 @@ more. The game has nice graphics and many different carddecks.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if %{with black-hole-solver}
|
||||
%if %{with bhsolver}
|
||||
%cmake_kf5 -d build
|
||||
%else
|
||||
%cmake_kf5 -d build -- -DWITH_BH_SOLVER=OFF
|
||||
|
Loading…
Reference in New Issue
Block a user