diff --git a/lxqt-powermanagement.changes b/lxqt-powermanagement.changes index f82e099..15ec688 100644 --- a/lxqt-powermanagement.changes +++ b/lxqt-powermanagement.changes @@ -5,6 +5,11 @@ Sat Feb 21 18:01:24 UTC 2015 - hrvoje.senjan@gmail.com does break BC even in point releases, so we need to hardcode libQt5Gui5 version +------------------------------------------------------------------- +Fri Feb 20 20:41:55 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 21:22:35 UTC 2015 - sfalken@opensuse.org diff --git a/lxqt-powermanagement.spec b/lxqt-powermanagement.spec index 395fd94..ac8288d 100644 --- a/lxqt-powermanagement.spec +++ b/lxqt-powermanagement.spec @@ -58,18 +58,11 @@ Translation files for lxqt-powermanagement %patch0 -p1 %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} %post