workaround QMAKE_LIBS_LIBATOMIC
OBS-URL: https://build.opensuse.org/package/show/network/datovka?expand=0&rev=48
This commit is contained in:
parent
c535d5c5e2
commit
b51ce47eb7
@ -38,8 +38,6 @@ Source1: https://secure.nic.cz/files/datove_schranky/%{version}/%{name}-%
|
|||||||
# PATCH-FIX-UPSTREAM: remove some issues with current .pro file
|
# PATCH-FIX-UPSTREAM: remove some issues with current .pro file
|
||||||
Patch0: datovka-fix-pro.patch
|
Patch0: datovka-fix-pro.patch
|
||||||
%if 0%{qt_version} == 6
|
%if 0%{qt_version} == 6
|
||||||
# private-devel is only temporary to fix "Library 'libatomic' is not defined."
|
|
||||||
BuildRequires: qt6-core-private-devel
|
|
||||||
BuildRequires: qt6-tools-linguist
|
BuildRequires: qt6-tools-linguist
|
||||||
%else
|
%else
|
||||||
BuildRequires: libqt5-linguist
|
BuildRequires: libqt5-linguist
|
||||||
@ -91,7 +89,9 @@ export CXXFLAGS="-std=c++11 %{optflags}"
|
|||||||
%endif
|
%endif
|
||||||
%{lrelease} datovka.pro
|
%{lrelease} datovka.pro
|
||||||
%if 0%{qt_version} == 6
|
%if 0%{qt_version} == 6
|
||||||
%qmake6 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1
|
# QMAKE_LIBS_LIBATOMIC= is only temporary to fix:
|
||||||
|
# "Library 'libatomic' is not defined."
|
||||||
|
%qmake6 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1 QMAKE_LIBS_LIBATOMIC=
|
||||||
%qmake6_build
|
%qmake6_build
|
||||||
%else
|
%else
|
||||||
%qmake5 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1
|
%qmake5 PREFIX=%{_prefix} DISABLE_VERSION_CHECK_BY_DEFAULT=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user