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"