From dd3cd509c6443356cb3505d1b53b89acee98e48f Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 13 Sep 2022 11:04:38 +0300 Subject: [PATCH] Fix error: lrelease-pro: No .pro/.pri files given. Instead of lrelease-pro we should use lrelease-qt5. --- dist/rpm/valentina.spec | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 95faf53e5..a0dae2323 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -134,24 +134,7 @@ a unique pattern making tool. %build %if 0%{?suse_version} > 0 -# Tumbleweed -%if 0%{?suse_version} > 1500 -qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-pro Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" -%endif - -# Leap -%if 0%{?suse_version} == 1500 - -# Leap 15.4 -%if 0%{?sle_version} >= 150400 && 0%{?is_opensuse} -qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-pro Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" -%else -qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" -%endif - -%endif - -%if 0%{?suse_version} < 1500 && 0%{?suse_version} >= 1315 +%if 0%{?suse_version} >= 1315 qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols" %else qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"