Accepting request 287402 from X11:lxde

- Changed %build and %install to use cmake macros (forwarded request 287066 from sfalken)

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 20 20:26:02 UTC 2015 - sfalken@opensuse.org
- Changed %build and %install to use cmake macros
-------------------------------------------------------------------
Mon Feb 9 20:54:55 UTC 2015 - sfalken@opensuse.org

View File

@ -45,18 +45,11 @@ PolicyKit authentication agent for LXDE-Qt
%setup -q
%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}
%files