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
This commit is contained in:
Dominique Leuenberger 2015-02-25 01:17:21 +00:00 committed by Git OBS Bridge
parent 09bcc86c32
commit ad8d981f1a
2 changed files with 7 additions and 10 deletions

View File

@ -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

View File

@ -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)