Jonas Kvinge 2022-07-17 22:00:17 +00:00 committed by Git OBS Bridge
parent ea9f1aeb61
commit c3b7cf0c9c

View File

@ -40,7 +40,7 @@ BuildRequires: libboost_headers-devel
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
%if 0%{?sle_version} >= 150400
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6DBus)
@ -86,7 +86,7 @@ BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(sqlite3) >= 3.9
BuildRequires: pkgconfig(taglib) >= 1.11.1
%if 0%{?sle_version} >= 150400
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
Requires: qt6-sql-sqlite
%else
Requires: libQt5Sql5-sqlite
@ -126,7 +126,7 @@ export CXX="g++-11"
export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
%cmake -DBUILD_WERROR=OFF \
%if 0%{?sle_version} >= 150400
%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
-DQT_MAJOR_VERSION=6
%else
-DQT_MAJOR_VERSION=5