]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Further RPM changes for EL10 5583/head
authorAndrew Lewis <nerf@judo.za.org>
Wed, 20 Aug 2025 10:02:12 +0000 (12:02 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 20 Aug 2025 10:02:12 +0000 (12:02 +0200)
rpm/rspamd.spec

index 5d508c17d1420ab943252eb569458d22d7943fc7..ba12105475ddae67a5b0a5078fd78e8e5a70aa74 100644 (file)
@@ -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 \