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

View File

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

View File

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