From 8484c34d71fe8a31a2984173e906a7654f0ab92c Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 3 Nov 2014 18:53:50 -0600 Subject: [PATCH] out-of-tree build, use %qmake_qt5 --- qt5-qtsvg.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/qt5-qtsvg.spec b/qt5-qtsvg.spec index 094160f..6a33f94 100644 --- a/qt5-qtsvg.spec +++ b/qt5-qtsvg.spec @@ -10,7 +10,7 @@ Summary: Qt5 - Support for rendering and displaying SVG Name: qt5-%{qt_module} Version: 5.4.0 -Release: 0.1.%{pre}%{?dist} +Release: 0.2.%{pre}%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions @@ -61,20 +61,23 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %build -%{_qt5_qmake} +mkdir %{_target_platform} +pushd %{_target_platform} +%{qmake_qt5} .. make %{?_smp_mflags} %if 0%{?docs} make %{?_smp_mflags} docs %endif +popd %install -make install INSTALL_ROOT=%{buildroot} +make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} %if 0%{?docs} -make install_docs INSTALL_ROOT=%{buildroot} +make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} %endif ## .prl/.la file love @@ -123,6 +126,9 @@ popd %changelog +* Mon Nov 03 2014 Rex Dieter 5.4.0-0.2.beta +- out-of-tree build, use %%qmake_qt5 + * Sun Oct 19 2014 Rex Dieter 5.4.0-0.1.beta - 5.4.0-beta