Christophe Marin 2023-03-03 08:48:26 +00:00 committed by Git OBS Bridge
parent dc3df37fb3
commit 59be20e9a2
2 changed files with 9 additions and 3 deletions

View File

@ -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>

View File

@ -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