[packages/spamassassin] Rel 2
arekm
arekm at pld-linux.org
Tue Aug 25 15:04:03 CEST 2026
commit 7df26b8e63401faf8d6429ca3d7eb7086f8b86e7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 25 15:03:45 2026 +0200
Rel 2
spamassassin-neuralnetwork-test-optional-fann.patch | 11 ++++++-----
spamassassin.spec | 4 ++--
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/spamassassin.spec b/spamassassin.spec
index 560bbf5..a55fbff 100644
--- a/spamassassin.spec
+++ b/spamassassin.spec
@@ -12,7 +12,7 @@ Summary: A spam filter for email which can be invoked from mail delivery agents
Summary(pl.UTF-8): Filtr antyspamowy, przeznaczony dla programów dostarczających pocztę (MDA)
Name: spamassassin
Version: 4.0.3
-Release: 0.%{subver}.1
+Release: 0.%{subver}.2
License: Apache v2.0
Group: Applications/Mail
Source0: https://deb.debian.org/debian/pool/main/s/spamassassin/spamassassin_%{snapver}.orig.tar.xz
@@ -66,7 +66,7 @@ Obsoletes: SpamAssassin < 2.31
Obsoletes: spamassassin-tools < 3.2.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreq 'perl(Razor2::Client::Agent)' 'perl(Razor::Agent)' 'perl(Razor::Client)' 'perl(DBI)' 'perl(Net::Ident)'
+%define _noautoreq 'perl(Razor2::Client::Agent)' 'perl(Razor::Agent)' 'perl(Razor::Client)' 'perl(DBI)' 'perl(Net::Ident)' 'perl(AI::FANN)'
%description
Apache SpamAssassin provides you with a way to reduce if not
diff --git a/spamassassin-neuralnetwork-test-optional-fann.patch b/spamassassin-neuralnetwork-test-optional-fann.patch
index 7486a44..27a87c5 100644
--- a/spamassassin-neuralnetwork-test-optional-fann.patch
+++ b/spamassassin-neuralnetwork-test-optional-fann.patch
@@ -1,8 +1,9 @@
-The NeuralNetwork plugin is optional - AI::FANN is listed as an optional module
-by Makefile.PL and the loadplugin line in rules/v403.pre is commented out - but
-its test declares a fixed plan and only guards DBD::SQLite, so without AI::FANN
-14 of 18 subtests fail instead of the test being skipped. Guard it the way every
-other optional-module test under t/ does.
+The NeuralNetwork plugin is optional - AI::FANN sits in @OPTIONAL_MODULES in
+lib/Mail/SpamAssassin/Util/DependencyInfo.pm and the loadplugin line in
+rules/v403.pre is commented out - but its test declares a fixed plan and only
+guards DBD::SQLite, so without AI::FANN 14 of 18 subtests fail instead of the
+test being skipped. Guard it the way every other optional-module test under t/
+does.
--- spamassassin-4.0.2+svn1935691/t/neuralnetwork.t.orig
+++ spamassassin-4.0.2+svn1935691/t/neuralnetwork.t
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spamassassin.git/commitdiff/7df26b8e63401faf8d6429ca3d7eb7086f8b86e7
More information about the pld-cvs-commit
mailing list