On Apr 3, 2021, at 12:26 PM, Olaf Sommer <WriteME@gmx.de> wrote:
>
> Can someone help me to update SA to a newer version?
The easiest way would probably be to build a local package from source, using the Fedora SRPM. Under a regular (not root) account, do the following:
# wget https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/s/spamassassin-3.4.5-1.fc35.src.rpm
rpm --nomd5 -i spamassassin-3.4.5-1.fc35.src.rpm
This should install a spec file into ~/rpmbuild/SPECS, though it may go elsewhere (e.g., /usr/src). You may need to make the rpmbuild directory.
# cd ~/rpmbuild/SPECS (or appropriate other directory)
# rpmbuild -ba spamassassin.spec
This should install the compiled RPM into ~/rpmbuild/RPMS/$HOSTTYPE/ -- the last few lines of the rpmbuild output will tell you (look for lines beginning with Wrote:).
# cd ~/rpmbuild/RPMS (or appropriate other directory)
# sudo yum localinstall spamassassin-3.4.5-1.el7.x86_64.rpm
(If you are on a different architecture than x86_64, adjust the above accordingly.)
You may need to install some other dependencies, and for that, the easiest would be to install the EPEL 7 repo if you have not already done so.
Hope this helps.
Cheers.
--- Amir