From 7c5f5b13b7913ea1ce980b9e5a7eb98af031b6fba1b5dd8396797074e98e3257 Mon Sep 17 00:00:00 2001 From: Shawn Dunn Date: Mon, 23 Feb 2015 19:46:43 +0000 Subject: [PATCH] Accepting request 287060 from home:sfalken:branches:X11:lxde - Changed %build and %install to use cmake macros OBS-URL: https://build.opensuse.org/request/show/287060 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/libqt5xdg?expand=0&rev=10 --- libqt5xdg.changes | 5 +++++ libqt5xdg.spec | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/libqt5xdg.changes b/libqt5xdg.changes index 55ec685..7ca597b 100644 --- a/libqt5xdg.changes +++ b/libqt5xdg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 20 19:53:39 UTC 2015 - sfalken@opensuse.org + +- Changed %build and %install to use cmake macros + ------------------------------------------------------------------- Mon Feb 9 16:27:11 UTC 2015 - sfalken@opensuse.org diff --git a/libqt5xdg.spec b/libqt5xdg.spec index 13b007f..41c9adc 100644 --- a/libqt5xdg.spec +++ b/libqt5xdg.spec @@ -58,19 +58,11 @@ qtxdg libraries for development %setup -q -n libqtxdg-%{version} %build -mkdir build -pushd build -cmake \ - -DUSE_QT5=ON \ - -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}/locale %post -n libQt5Xdg1 -p /sbin/ldconfig