aboutsummaryrefslogtreecommitdiffstats
path: root/rpm/rspamd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/rspamd.spec')
-rw-r--r--rpm/rspamd.spec9
1 files changed, 9 insertions, 0 deletions
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}