From 6e764e58cee3aa3fb0f404a914aea88a389fac96 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 17 Jul 2023 17:17:33 +0100 Subject: Another try for RHEL9 --- rpm/rspamd.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec index d7f82d0ee..de68eb285 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} -- cgit v1.2.3