From d0bdd46d777063643cb1ad8a52b46aca3eced193 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 19 Feb 2016 20:37:41 +0200 Subject: [PATCH] Using CONFIG keys in package scripts. --HG-- branch : develop --- dist/debian/rules | 2 +- dist/ebuild/valentina-0.0.0(template_stable).ebuild | 2 +- dist/rpm/valentina.spec | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/debian/rules b/dist/debian/rules index d14fe3a43..e36187ef7 100755 --- a/dist/debian/rules +++ b/dist/debian/rules @@ -18,7 +18,7 @@ mkdir -p builddir builddir/Makefile: builddir - cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) CONFIG+=no_ccache ../$(APPNAME).pro -r + cd builddir && qmake PREFIX=/usr PREFIX_LIB=$(PREFIX_LIB) "CONFIG += noTests noRunPath no_ccache noDebugSymbols" ../$(APPNAME).pro -r build: build-stamp build-stamp: builddir/Makefile dh_testdir diff --git a/dist/ebuild/valentina-0.0.0(template_stable).ebuild b/dist/ebuild/valentina-0.0.0(template_stable).ebuild index 79d787d04..a36c0c907 100644 --- a/dist/ebuild/valentina-0.0.0(template_stable).ebuild +++ b/dist/ebuild/valentina-0.0.0(template_stable).ebuild @@ -48,7 +48,7 @@ src_configure() { fi done - eqmake5 LOCALES="${locales}" CONFIG+=noRunPath CONFIG+=no_ccache CONFIG+=noDebugSymbols Valentina.pro -r + eqmake5 LOCALES="${locales}" "CONFIG += noTests noRunPath no_ccache noDebugSymbols" Valentina.pro -r } src_install() { diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index ba0e92a26..80bdc175e 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -77,9 +77,9 @@ a unique pattern making tool. %build %if 0%{?suse_version} >= 1315 -qmake-qt5 PREFIX=%{_prefix} LRELEASE=lrelease-qt5 Valentina.pro -r CONFIG+=no_ccache +qmake-qt5 PREFIX=%{_prefix} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %else -qmake-qt5 PREFIX=%{_prefix} Valentina.pro -r CONFIG+=no_ccache +qmake-qt5 PREFIX=%{_prefix} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %endif %{__make} %{?jobs:-j %jobs}