Skip to content

Commit

Permalink
Another try for RHEL9
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Jul 17, 2023
1 parent cfd8343 commit 6e764e5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rpm/rspamd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 6e764e5

Please sign in to comment.