Using CONFIG keys in package scripts.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-02-19 20:37:41 +02:00
parent 06d88d66e5
commit d0bdd46d77
3 changed files with 4 additions and 4 deletions

2
dist/debian/rules vendored
View file

@ -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

View file

@ -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() {

View file

@ -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}