On 12/19/2022 7:59 PM, Kenneth Porter wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=2154501
https://bodhi.fedoraproject.org/updates/FEDORA-2022-e341ba52a1
https://koji.fedoraproject.org/koji/buildinfo?buildID=2102188
It looks like the packaging fails before building anything because the
filename in the spec file for the rules tarball doesn't match the
version of rules actually included in the srpm.
The srpm at the Koji link seems to build fine on my Rocky 8 (RHEL 8
respin) x86_64 system. The error reported in the Bugzilla entry must be
from an initial test build as the rules tarball in the Koji srpm matches
the filename in its spec file.
Here's a direct link to the test srpm, copied from the Koji link above:
https://kojipkgs.fedoraproject.org//packages/spamassassin/4.0.0/1.fc38/src/spamassassin-4.0.0-1.fc38.src.rpm
The rule tarball is indeed included in the generated RPM as an initial
rule set under /usr/share/spamassassin.
The packaging script:
https://src.fedoraproject.org/rpms/spamassassin/blob/rawhide/f/spamassassin.spec
The README which includes justification for including the rules:
https://src.fedoraproject.org/rpms/spamassassin/blob/rawhide/f/README.RHEL.Fedora