From c159973973cb99dbda607e5e67a2598c0353c1c0086b99e75f7a46e734852eb5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Feb 2015 01:17:19 +0000 Subject: [PATCH] Accepting request 287398 from X11:lxde - Changed %build and %install to use cmake macros (forwarded request 287073 from sfalken) OBS-URL: https://build.opensuse.org/request/show/287398 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-runner?expand=0&rev=4 --- lxqt-runner.changes | 5 +++++ lxqt-runner.spec | 11 ++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/lxqt-runner.changes b/lxqt-runner.changes index f368363..af15f1c 100644 --- a/lxqt-runner.changes +++ b/lxqt-runner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 21:23:53 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 22:52:59 UTC 2015 - sfalken@opensuse.org diff --git a/lxqt-runner.spec b/lxqt-runner.spec index 4973020..ab0f993 100644 --- a/lxqt-runner.spec +++ b/lxqt-runner.spec @@ -50,18 +50,11 @@ Translation files for lxqt-runner %setup -q %build -mkdir build -pushd build -cmake \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - .. +%cmake %__make %{?_smp_mflags} -popd %install -pushd build -make DESTDIR=$RPM_BUILD_ROOT install -popd +%cmake_install %fdupes %{buildroot}/%{_datadir} %files