From 59be20e9a2ab676c49b6bdd84a9bd82de0d12f49e01f05ddcfebaf01f72b79c2 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Fri, 3 Mar 2023 08:48:26 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kpat?expand=0&rev=181 --- kpat.changes | 6 ++++++ kpat.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/kpat.changes b/kpat.changes index 8bd8e6b..6df35f6 100644 --- a/kpat.changes +++ b/kpat.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 3 08:48:12 UTC 2023 - Christophe Marin + +- Don't use dashes with %bcond_without. The parser doesn't like + them + ------------------------------------------------------------------- Tue Feb 28 09:46:25 UTC 2023 - Christophe Marin diff --git a/kpat.spec b/kpat.spec index 070f4d9..24dbe49 100644 --- a/kpat.spec +++ b/kpat.spec @@ -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