On Sat, Jul 10, 2004 at 05:42:32AM -0700, Kenneth Porter wrote:
> Have you got a working rpmbuild invocation that works for this? There still 
> seems to be some confusion between the 3.0.0 and 3.000000 numbering in the 
> spec file.

Yeah...  I put up a pre2 set of [S]RPM files at
http://www.spamassassin.org/released/RPMs/

Interesting...  I just checked the SRPM to make sure the "rpmbuild
--rebuild" thing works (I used the binary RPMs that came out), and it
looks like the SRPM doesn't keep track of what the source filename is.
<grrr>  I used the bz2 version of the tarball which worked fine in the
original build, but it complains on rebuild:

error: File [...]/SOURCES/Mail-SpamAssassin-3.0.0.tar.gz: No such file or 
directory

Ok fine, I put up a new p2 set of RPMs based on the gz version, but
if anyone gets the old version and it complains, use the following
commandline:

$ rpmbuild --rebuild --define 'srcext .bz2' spamassassin-3.0.0-p2.src.rpm

Have to find a place to report the RPM bug...

> I can successfully build if I link the tarball to 
> SOURCES/Mail-SpamAssassin-3.0.0.tar.bz2 and apply this change to 
> spamassassin.spec:

Yeah, the filename was changed from the internal version number (3.000000)
to the 'display' version number (3.0.0).  But that wasn't updated in the
spec file pre-pre2 release.  I fixed it for the next version.  Sorry for
the inconvenience.  :(

-- 
Randomly Generated Tagline:
Dijkstra probably hates me
 (Linus Torvalds, in kernel/sched.c)

Attachment: pgp6c0PpQfgRk.pgp
Description: PGP signature

Reply via email to