[cvs] bogofilter NEWS,1.527,1.528 Makefile.am,1.173,1.174

Matthias Andree matthias.andree at gmx.de
Wed Dec 28 01:00:10 CET 2005


David Relson <relson at users.sourceforge.net> 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



More information about the bogofilter-dev mailing list