bad %if condition: 01599 > 1500 # Tumbleweed
This commit is contained in:
parent
7966b08f21
commit
a5ac9bc638
5
dist/rpm/valentina.spec
vendored
5
dist/rpm/valentina.spec
vendored
|
@ -134,16 +134,19 @@ a unique pattern making tool.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} > 0
|
%if 0%{?suse_version} > 0
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500 # Tumbleweed
|
%if 0%{?suse_version} > 1500 # Tumbleweed
|
||||||
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-pro Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-pro Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} == 1500 # Leap
|
%if 0%{?suse_version} == 1500 # Leap
|
||||||
|
|
||||||
%if 0%{?sle_version} >= 150400 && 0%{?is_opensuse} # Leap 15.4
|
%if 0%{?sle_version} >= 150400 && 0%{?is_opensuse} # Leap 15.4
|
||||||
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-pro Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-pro Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||||
%else
|
%else
|
||||||
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} LRELEASE=lrelease-qt5 Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} < 1500 && 0%{?suse_version} >= 1315
|
%if 0%{?suse_version} < 1500 && 0%{?suse_version} >= 1315
|
||||||
|
@ -151,7 +154,9 @@ a unique pattern making tool.
|
||||||
%else
|
%else
|
||||||
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
qmake-qt5 PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%if 0%{?mageia} >= 6
|
%if 0%{?mageia} >= 6
|
||||||
qmake PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
qmake PREFIX=%{_prefix} PREFIX_LIB=%{_prefix}/%{_lib} Valentina.pro -r "CONFIG += noTests noRunPath no_ccache noDebugSymbols"
|
||||||
%else
|
%else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user