From 5a245ecd4970d3e023f57f4742a534ab0b9efbfeb8016d38c4bb30fbf01338be Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 25 Feb 2015 01:17:15 +0000 Subject: [PATCH] Accepting request 287395 from X11:lxde - Changed %build and %install to use cmake macros (forwarded request 287075 from sfalken) OBS-URL: https://build.opensuse.org/request/show/287395 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcmanfm-qt?expand=0&rev=4 --- pcmanfm-qt.changes | 5 +++++ pcmanfm-qt.spec | 12 +++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/pcmanfm-qt.changes b/pcmanfm-qt.changes index 900b822..c753859 100644 --- a/pcmanfm-qt.changes +++ b/pcmanfm-qt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 21:31:00 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 23:46:52 UTC 2015 - sfalken@opensuse.org diff --git a/pcmanfm-qt.spec b/pcmanfm-qt.spec index 142923a..f7d12d4 100644 --- a/pcmanfm-qt.spec +++ b/pcmanfm-qt.spec @@ -74,19 +74,13 @@ Translation files for pcmanfm-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} + %post %desktop_database_post