From: Andrew Lewis Date: Wed, 20 Aug 2025 10:02:12 +0000 (+0200) Subject: [Minor] Further RPM changes for EL10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5583%2Fhead;p=thirdparty%2Frspamd.git [Minor] Further RPM changes for EL10 --- diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec index 5d508c17d1..ba12105475 100644 --- a/rpm/rspamd.spec +++ b/rpm/rspamd.spec @@ -54,8 +54,10 @@ BuildRequires: gcc-toolset-12-libasan-devel %if 0%{?el8} || 0%{?fedora} > 10 BuildRequires: hyperscan-devel %endif +%if !0%{?el10} BuildRequires: jemalloc-devel %endif +%endif %if 0%{getenv:LUAJIT} BuildRequires: git @@ -65,7 +67,9 @@ BuildRequires: lua-devel BuildRequires: openblas-devel BuildRequires: openssl-devel BuildRequires: pcre2-devel +%if !0%{?el10} BuildRequires: ragel +%endif BuildRequires: sqlite-devel BuildRequires: systemd BuildRequires: binutils-devel @@ -158,8 +162,10 @@ rm -f %{_builddir}/luajit-build/lib/*.so || true %endif %endif %ifarch x86_64 amd64 +%if !0%{?el10} -DENABLE_JEMALLOC=ON \ %endif +%endif %if 0%{getenv:LUAJIT} -DENABLE_LUAJIT=ON \ -DLUA_ROOT=%{_builddir}/luajit-build \