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)