Accepting request 287397 from X11:lxde

- Changed %build and %install to used cmake macros (forwarded request 287074 from sfalken)

OBS-URL: https://build.opensuse.org/request/show/287397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-session?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2015-02-25 01:17:17 +00:00 committed by Git OBS Bridge
parent 473716bb49
commit 6ae3db2a67
2 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 20 21:26:45 UTC 2015 - sfalken@opensuse.org
- Changed %build and %install to used cmake macros
-------------------------------------------------------------------
Mon Feb 9 23:18:59 UTC 2015 - sfalken@opensuse.org

View File

@ -58,18 +58,11 @@ Translation files for lxqt-session
%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