From 82470c42a3b407c0be0f096d0a1370039cd93ee9 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 28 Oct 2014 11:39:37 -0500 Subject: [PATCH] do out-of-src build (prep for qt5 build maybe coming someday) --- qwt.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/qwt.spec b/qwt.spec index 046a685..6a32265 100644 --- a/qwt.spec +++ b/qwt.spec @@ -5,7 +5,7 @@ Name: qwt Summary: Qt Widgets for Technical Applications Version: 6.1.1 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2 with exceptions URL: http://qwt.sourceforge.net @@ -53,13 +53,16 @@ BuildArch: noarch %patch51 -p1 -b .qt_install_paths %build -%{?_qt4_qmake} QWT_CONFIG+=QwtPkgConfig +mkdir %{_target_platform} +pushd %{_target_platform} +%{_qt4_qmake} QWT_CONFIG+=QwtPkgConfig .. make %{?_smp_mflags} +popd %install -make install INSTALL_ROOT=%{buildroot} +make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} # fixup doc path bogosity mv %{buildroot}%{_qt4_docdir}/html/html \ @@ -98,6 +101,9 @@ mv %{buildroot}%{_qt4_docdir}/html/man/man3 \ %changelog +* Tue Oct 28 2014 Rex Dieter 6.1.1-2 +- do out-of-src build (prep for qt5 build maybe coming someday) + * Sat Sep 20 2014 Rex Dieter 6.1.1-1 - qwt-6.1.1