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