Some perl scripts from spamassassin-2.61-2, /usr/bin, as well as one module contain buildroot traces. The fix: use DESTDIR=$RPM_BUILD_ROOT instead of PREFIX in "perl Makefile.PL". While at it, I'd suggest SSL-enabling spamc as well as making it possible for older rpm versions to strip it. Will attach a patch which does the above.
Created attachment 97034 [details] Fix buildroot traces, enable openssl, allow stripping spamc
By the way, this partially "fixes" #97747.
Overlaps with bug 90202, but not strictly a duplicate.
Created attachment 97105 [details] Fix buildroot traces, enable openssl, allow stripping spamc, honor optflags AFAICS here are the most important parts to be applied to spamassassin 2.62-2. Further cleanups maybe sometime later. Changed since my previous patch: - Trailing slash to DESTDIR (bug 90202 comment 14). - export optflags so they're honored, affects spamc only.
2.62-3 applied to rawhide Please re-open if you have more cleanups.