Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rspamd for openSUSE:Factory checked in at 2025-11-07 18:23:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rspamd (Old) and /work/SRC/openSUSE:Factory/.rspamd.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rspamd" Fri Nov 7 18:23:27 2025 rev:42 rq:1316425 version:3.13.2 Changes: -------- --- /work/SRC/openSUSE:Factory/rspamd/rspamd.changes 2025-10-27 14:41:32.395197253 +0100 +++ /work/SRC/openSUSE:Factory/.rspamd.new.1980/rspamd.changes 2025-11-07 18:25:34.859318085 +0100 @@ -1,0 +2,10 @@ +Fri Nov 7 12:30:31 UTC 2025 - Marcus Rueckert <[email protected]> + +- We finally have natively built packages with for luajit-lpeg in + Tumbleweed, we no longer need to mix with lua51 packages there + anymore. For older distros we still need it. Guard handling for + those distros with bcond mixed_luajit_lua and keep the version + comparison there. Also prepare so we can handle luajit2 if + needed. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rspamd.spec ++++++ --- /var/tmp/diff_new_pack.r4abKJ/_old 2025-11-07 18:25:35.971364797 +0100 +++ /var/tmp/diff_new_pack.r4abKJ/_new 2025-11-07 18:25:35.975364966 +0100 @@ -26,12 +26,19 @@ %bcond_with systemd %endif -%global lua_abi_version 51 +%global luajit_version luajit %ifarch %{ix86} x86_64 aarch64 %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150500 %bcond_without hyperscan %endif + %if 0%{?suse_version} > 1600 + %global lua_abi_version jit + %bcond_with mixed_luajit_lua + %else + %global lua_abi_version 51 + %bcond_without mixed_luajit_lua + %endif %if 0%{?suse_version} >= 1500 %bcond_without luajit %else @@ -89,7 +96,7 @@ BuildRequires: libfann-devel BuildRequires: libicu-devel %if %{with luajit} -BuildRequires: luajit-devel +BuildRequires: %{luajit_version}-devel %else BuildRequires: lua%{?lua_abi_version}-devel %endif @@ -189,11 +196,13 @@ %autosetup -p1 %build -%if %{with luajit} -if ! [ "%{lua_abi_version}" = "$(pkg-config --variable=abiver luajit | tr -d '.')" ] ; then +%if %{with luajit} && %{with mixed_luajit_lua} +if ! [ "%{lua_abi_version}" = "$(pkg-config --variable=abiver %{luajit_version} | tr -d '.')" ] ; then echo "the lua_abi_version define and the abi version of luajit do not match. please investigate. exiting." exit 1 fi +%else +echo "no lua abi version check done" %endif %if 0%{?force_gcc_version} export CC="gcc-%{?force_gcc_version}"
