Re: [cvs] bogofilter NEWS,1.527,1.528 Makefile.am,1.173,1.174
Matthias Andree <[email protected]> Wed, 28 Dec 2005 01:00:10 +0100
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <[email protected]> |
David Relson <[email protected]> writes: > - "Version 3*") rpm $(adddef) --sign $(buildopt) $(distdir).tar.gz ;; \ > - *) rpmbuild $(adddef) --sign $(buildopt) $(distdir).tar.gz ;; \ > + "Version 3*") rpm --define 'bogostatic 1' --sign -ta $(distdir).tar.gz ; \ > + rpm --define 'with_sqlite 1' --sign -ta $(distdir).tar.gz ;; \ > + *) rpmbuild --define 'bogostatic 1' --sign -ta $(distdir).tar.gz ; \ > + rpmbuild --define 'with_sqlite 1' --sign -ta $(distdir).tar.gz ;; \ > esac Regarding the with_sqlite... -ta change, I don't believe we need to build the source RPM twice, they should have identical contents, and the with_sqlite builds should use -tb rather than -ta. Unpack both .src.rpm files with rpm2cpio bogofilter-whatever.src.rpm \ | (mkdir /tar/get && cd /tar/get && cpio -div) and compare the output directories. Another thing, on SUSE all of the database libraries (libdb.a and libsqlite3.a) require -lpthread for the static link (we don't have autoconf support for that). I'll try to get autoconf support for that. -- Matthias Andree _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev