Browse Source

rspamd-3.4-2

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
e4671cb80b
1 changed files with 15 additions and 2 deletions
  1. 15 2
      r/rspamd/rspamd-vl.spec

+ 15 - 2
r/rspamd/rspamd-vl.spec

@@ -1,5 +1,6 @@
 %bcond_with systemd
 %bcond_with jemalloc
+%bcond_with hyperscan
 
 %define rspamd_user      _rspamd
 %define rspamd_group     %{rspamd_user}
@@ -12,7 +13,7 @@
 
 Summary:        Rapid spam filtering system
 Name:           rspamd
-Version:        3.3
+Version:        3.4
 Release:        2%{?_dist_release}%{?with_systemd:.systemd}
 Group:          servers
 Vendor:         Project Vine
@@ -80,6 +81,12 @@ lua.
 
 
 %build
+%if %{with hyperscan}
+%define opt_hyperscan -DENABLE_HYPERSCAN=ON
+%else
+%define opt_hyperscan -DENABLE_HYPERSCAN=OFF
+%endif
+
 %cmake \
         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
         -DCONFDIR=%{_sysconfdir}/rspamd \
@@ -103,7 +110,7 @@ lua.
         -DDISABLE_PTHREAD_MUTEX=1 \
 %endif
 %ifarch x86_64
-        -DENABLE_HYPERSCAN=ON \
+        %{opt_hyperscan} \
 %endif
         -DSYSTEM_FMT=ON \
         -DSYSTEM_ZSTD=ON \
@@ -255,6 +262,12 @@ fi
 
 
 %changelog
+* Wed Nov 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4-2
+- disabled hyperscan.
+
+* Wed Nov 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4-1
+- new upstream release.
+
 * Wed Oct 19 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3-2
 - rebuilt with libicu72.