SpamAssassin rebuilding SRPM on RedHat 8.0?

Stephane Lentz Stephane.Lentz at ANSF.ALCATEL.FR
Mon Jan 20 12:57:39 GMT 2003


On Mon, Jan 20, 2003 at 09:36:26AM +0100, Remco Barendse wrote:
> Is there anyone having any luck rebuilding the SpamAssassin SRPMS on a
> RedHat 8.0 box?
>
> When I do
> [root at raveon SpamAssassin]# rpmbuild --rebuild spamassassin-2.43-3.src.rpm
> I get :
> Installing spamassassin-2.43-3.src.rpm
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49198
> + umask 022
> + cd /usr/src/redhat/BUILD
> + LANG=C
> + export LANG
> + -q
> /var/tmp/rpm-tmp.49198: line 23: -q: command not found
> error: Bad exit status from /var/tmp/rpm-tmp.49198 (%prep)
>
> When I remove the -q from the prep script and rebuild I get this error:
> Processing files: perl-Mail-SpamAssassin-2.43-2
> error: File not found by glob:
> /var/tmp/spamassassin-root/usr/share/man/man3/*
>
> It's really strange, I think there must be more people out there using
> RedHat 8, and some of them must have installed SA? Or maybe they just
> used the tarball instead.
>
> Ideas anyone?
>

Ain't using RedHat but you could try RedHat SA src.rpm instead :
ftp://rpmfind.net/linux/rawhide/1.0/SRPMS/SRPMS/spamassassin-2.43-10.src.rpm

RPM .spec differ a lot defpending the vender and the release ....

SL/
---
Stephane Lentz / Alcanet International - Internet Services



More information about the MailScanner mailing list