From ad8d981f1a174e22e8944abc1499a0339ce29d78f9db5a653d303b56c73a10dc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Feb 2015 01:17:21 +0000 Subject: [PATCH] Accepting request 287399 from X11:lxde - Changed %build and %install to use cmake macros (forwarded request 287069 from sfalken) OBS-URL: https://build.opensuse.org/request/show/287399 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-qtplugin?expand=0&rev=5 --- lxqt-qtplugin.changes | 5 +++++ lxqt-qtplugin.spec | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/lxqt-qtplugin.changes b/lxqt-qtplugin.changes index 901415e..408973a 100644 --- a/lxqt-qtplugin.changes +++ b/lxqt-qtplugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 20:48:04 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 21:32:01 UTC 2015 - sfalken@opensuse.org diff --git a/lxqt-qtplugin.spec b/lxqt-qtplugin.spec index 3bca336..3c4b0c6 100644 --- a/lxqt-qtplugin.spec +++ b/lxqt-qtplugin.spec @@ -51,19 +51,11 @@ about all plugins in the console when running any Qt5 programs.) %setup -q %build -mkdir build -pushd build -cmake \ - -DUSE_QT5=YES \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - .. +%cmake %__make %{?_smp_mflags} -popd %install -pushd build -make DESTDIR=$RPM_BUILD_ROOT install -popd +%cmake_install %files %defattr(-,root,root)