Fix error: lrelease-pro: No .pro/.pri files given.
Instead of lrelease-pro we should use lrelease-qt5.
This commit is contained in:
parent
d158750279
commit
dd3cd509c6
19
dist/rpm/valentina.spec
vendored
19
dist/rpm/valentina.spec
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user