From edb4956e88c9a05eb12f055182798f7ef9b96140840355e21b3e871c687cd3aa Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 15 Feb 2019 13:45:31 +0000 Subject: [PATCH] Accepting request 676376 from home:wolfi323:branches:KDE:Extra - Use %cmake and %cmake_install macros Fixes build error with latest cmake in Factory/Tumbleweed ("CMake Error: No source or binary directory provided") OBS-URL: https://build.opensuse.org/request/show/676376 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kst?expand=0&rev=17 --- kst.changes | 5 +++++ kst.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/kst.changes b/kst.changes index 77f172d..349db17 100644 --- a/kst.changes +++ b/kst.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 15 09:44:08 UTC 2019 - wbauer@tmo.at + +- Use %cmake and %cmake_install macros + ------------------------------------------------------------------- Sun Jun 3 17:44:42 UTC 2018 - christophe@krop.fr diff --git a/kst.spec b/kst.spec index 34b0f9c..96c6491 100644 --- a/kst.spec +++ b/kst.spec @@ -105,11 +105,11 @@ EXTRA_FLAGS="-Dkst_install_prefix=%{_prefix} \ -Dkst_qt4=1" %endif -cmake $EXTRA_FLAGS +%cmake $EXTRA_FLAGS make %{?_smp_mflags} %install -%make_install +%cmake_install %suse_update_desktop_file -r %{name}2 Qt KDE Science Math %fdupes %{buildroot}