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
This commit is contained in:
Christophe Giboudeaux 2019-02-15 13:45:31 +00:00 committed by Git OBS Bridge
parent 0f33ab4c32
commit edb4956e88
2 changed files with 7 additions and 2 deletions

View File

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

View File

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