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>
|
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
|
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150400
|
||||||
%bcond_without black-hole-solver
|
%bcond_without bhsolver
|
||||||
%endif
|
%endif
|
||||||
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
# 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}')}
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||||
@ -35,7 +35,7 @@ Source2: applications.keyring
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: freecell-solver-devel
|
BuildRequires: freecell-solver-devel
|
||||||
%if %{with black-hole-solver}
|
%if %{with bhsolver}
|
||||||
BuildRequires: pkgconfig(libblack-hole-solver)
|
BuildRequires: pkgconfig(libblack-hole-solver)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -79,7 +79,7 @@ more. The game has nice graphics and many different carddecks.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{with black-hole-solver}
|
%if %{with bhsolver}
|
||||||
%cmake_kf5 -d build
|
%cmake_kf5 -d build
|
||||||
%else
|
%else
|
||||||
%cmake_kf5 -d build -- -DWITH_BH_SOLVER=OFF
|
%cmake_kf5 -d build -- -DWITH_BH_SOLVER=OFF
|
||||||
|
Loading…
Reference in New Issue
Block a user