From ca8a6a5328b81673be639719fd6afc612430d5eb743a22c2e5703bcd1050281a Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Feb 2015 01:17:30 +0000 Subject: [PATCH] Accepting request 287403 from X11:lxde - Changed %build and %install to use cmake macros (forwarded request 287065 from sfalken) OBS-URL: https://build.opensuse.org/request/show/287403 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-notificationd?expand=0&rev=4 --- lxqt-notificationd.changes | 5 +++++ lxqt-notificationd.spec | 11 ++--------- 2 files changed, 7 insertions(+), 9 deletions(-) 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