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