diff --git a/kpat.changes b/kpat.changes index 86bdb8b..2f0c45b 100644 --- a/kpat.changes +++ b/kpat.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 24 15:04:16 UTC 2020 - Wolfgang Bauer + +- Set WITH_BH_SOLVER=OFF on Leap as libblack-hole-solver is not + available + ------------------------------------------------------------------- Sat Nov 14 00:02:12 UTC 2020 - Christophe Giboudeaux diff --git a/kpat.spec b/kpat.spec index d2cf2f5..38f39f2 100644 --- a/kpat.spec +++ b/kpat.spec @@ -30,7 +30,9 @@ URL: https://www.kde.org Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: freecell-solver-devel +%if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(libblack-hole-solver) +%endif BuildRequires: update-desktop-files BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF5Config) @@ -77,7 +79,11 @@ more. The game has nice graphics and many different carddecks. %setup -q %build +%if 0%{?suse_version} > 1500 %cmake_kf5 -d build +%else + %cmake_kf5 -d build -- -DWITH_BH_SOLVER=OFF +%endif %cmake_build %install