From: Vsevolod Stakhov Date: Mon, 17 Jul 2023 16:17:33 +0000 (+0100) Subject: Another try for RHEL9 X-Git-Tag: 3.6~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e764e58cee3aa3fb0f404a914aea88a389fac96;p=thirdparty%2Frspamd.git Another try for RHEL9 --- diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec index d7f82d0eef..de68eb285e 100644 --- a/rpm/rspamd.spec +++ b/rpm/rspamd.spec @@ -24,6 +24,9 @@ BuildRequires: cmake %if 0%{?el8} BuildRequires: gcc-toolset-10-gcc-c++ %endif +%if 0%{?el9} +BuildRequires: gcc-toolset-12-gcc-c++ +%endif %endif BuildRequires: file-devel BuildRequires: glib2-devel @@ -38,6 +41,9 @@ BuildRequires: devtoolset-10-libasan-devel %if 0%{?el8} BuildRequires: gcc-toolset-10-libasan-devel %endif +%if 0%{?el9} +BuildRequires: gcc-toolset-12-libasan-devel +%endif %endif %endif @@ -84,6 +90,9 @@ source /opt/rh/devtoolset-10/enable %if 0%{?el8} source /opt/rh/gcc-toolset-10/enable %endif +%if 0%{?el9} +source /opt/rh/gcc-toolset-12/enable +%endif %endif %if 0%{getenv:LUAJIT}