On 7/14/26 4:54 PM, [email protected] wrote:
On 7/14/26 3:56 PM, John Crisp wrote:

On 30/12/2025 12:32, Giovanni Bechis wrote:
Hi,
I've just committed to my Github repo the first version of a SpamAssassin 
plugin that uses Neural Networks to detect spam messages.
Code is available at https://github.com/bigio/spamassassin- NeuralNetwork , if 
the community is interested I can work on merging it to the Apache SpamAssassin 
src tree.

I am building spamassassin 4.0.2 as a rpm for our distro but though it builds 
OK, when I go to install it complains:

  nothing provides perl(AI::FANN) needed by spamassassin-4.0.2-2.el8.sme.x86_64

There is no mention of it in the spec file!

Seems it depends on a module I don't have readily available as a rpm at the 
minute, and to install it via cpan it needs another header I don't have from 
libfann.

Is there a way to disable the plugin during the build process so it doesn't get 
included or required on install, at least for now?

on my setup I've workarounded it by setting "AutoReq: no" in my .spec file.
I will investigate further why this triggers this issue.

latest trunk code should work without the `AutoReq` workaround.
 Regards
  Giovanni

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to