aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-07-17 17:17:33 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-07-17 17:17:33 +0100
commit6e764e58cee3aa3fb0f404a914aea88a389fac96 (patch)
tree23c20e9e11e7ac0a608710cbb9db477a1db48f2c
parentcfd83431c040ffbd5dd946b4131a566195fe6d89 (diff)
downloadrspamd-6e764e58cee3aa3fb0f404a914aea88a389fac96.tar.gz
rspamd-6e764e58cee3aa3fb0f404a914aea88a389fac96.zip
Another try for RHEL9
-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}