diff --git a/lxqt-session.changes b/lxqt-session.changes index b209ed7..9f046a3 100644 --- a/lxqt-session.changes +++ b/lxqt-session.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 21:26:45 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to used cmake macros + ------------------------------------------------------------------- Mon Feb 9 23:18:59 UTC 2015 - sfalken@opensuse.org diff --git a/lxqt-session.spec b/lxqt-session.spec index d2c9deb..9b1a7e0 100644 --- a/lxqt-session.spec +++ b/lxqt-session.spec @@ -58,18 +58,11 @@ Translation files for lxqt-session %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