diff --git a/lxqt-notificationd.changes b/lxqt-notificationd.changes index b3b33f0..8d2ece4 100644 --- a/lxqt-notificationd.changes +++ b/lxqt-notificationd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 20:20:09 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 20:02:11 UTC 2015 - sfalken@opensuse.org diff --git a/lxqt-notificationd.spec b/lxqt-notificationd.spec index 97e0357..d5fd660 100644 --- a/lxqt-notificationd.spec +++ b/lxqt-notificationd.spec @@ -47,18 +47,11 @@ Daemon and library for global keyboard shortcuts regustration %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