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