diff --git a/base/qbittorrent/qbittorrent.spec b/base/qbittorrent/qbittorrent.spec index 6668310..f23c5f2 100644 --- a/base/qbittorrent/qbittorrent.spec +++ b/base/qbittorrent/qbittorrent.spec @@ -27,11 +27,7 @@ Source3: qbittorrent-nox.README ExcludeArch: %{ix86} BuildRequires: cmake -%if 0%{?rhel} <= 8 -BuildRequires: clang -%else -BuildRequires: gcc-c++ -%endif +BuildRequires: gcc-toolset-13-gcc-c++ gcc-toolset-13-gcc-plugin-annobin BuildRequires: gnupg2 BuildRequires: ninja-build BuildRequires: systemd @@ -42,6 +38,7 @@ BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: libxkbcommon-devel BuildRequires: qt6-linguist +BuildRequires: qt6-qtbase-private-devel %else BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) @@ -82,11 +79,10 @@ It aims to be as fast as possible and to provide multi-OS, unicode support. cp %{SOURCE3} . %build +. /opt/rh/gcc-toolset-13/enable + mkdir build-nox pushd build-nox -%if 0%{?rhel} <= 8 -export CXX=clang++ -%endif %cmake \ -DSYSTEMD=ON \ -Wno-dev \ @@ -149,6 +145,8 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.qbittorren %changelog * Mon Mar 25 2024 Raven - 1:4.6.4-1 - Update to 4.6.4 +- use the same compiler +- fix Qt6 BR * Mon Dec 18 2023 Raven - 1:4.6.2-1 - Update to 4.6.2