From 4195d86cee74af309b1e8444da2e95e95228bff16165ee434918bc72cf2be0a8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Feb 2015 01:17:28 +0000 Subject: [PATCH] Accepting request 287402 from X11:lxde - Changed %build and %install to use cmake macros (forwarded request 287066 from sfalken) OBS-URL: https://build.opensuse.org/request/show/287402 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-policykit?expand=0&rev=4 --- lxqt-policykit.changes | 5 +++++ lxqt-policykit.spec | 11 ++--------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/lxqt-policykit.changes b/lxqt-policykit.changes index 0a8d1fb..f4b0bb6 100644 --- a/lxqt-policykit.changes +++ b/lxqt-policykit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 20:26:02 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 20:54:55 UTC 2015 - sfalken@opensuse.org diff --git a/lxqt-policykit.spec b/lxqt-policykit.spec index 64a4306..13f4e03 100644 --- a/lxqt-policykit.spec +++ b/lxqt-policykit.spec @@ -45,18 +45,11 @@ PolicyKit authentication agent for LXDE-Qt %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 -s %{buildroot}%{_datadir} %files