From 26c8a27ae899b15b13d19988fbb3150449ca90d7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 11 Jun 2018 12:43:40 +0300 Subject: [PATCH] Script still selects wrong command for calling qmake on Mageia. --HG-- branch : develop --- dist/rpm/valentina.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 8fbd470fe..755de6310 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -107,12 +107,15 @@ a unique pattern making tool. %if 0%{?suse_version} >= 1315 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 += noTests noRunPath no_ccache noDebugSymbols" -%endif %if 0%{?mageia} >= 6 qmake PREFIX=%{_prefix} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" +%else +qmake-qt5 PREFIX=%{_prefix} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %endif + +%endif + %{__make} %{?jobs:-j %jobs} %install