If you use "mock" to build courier, gnutls will be preferred over 
openssl, because when buildprereqs are calculated, no devel packages are 
installed:

%define use_openssl %(rpm -q openssl-devel >/dev/null 2>&1 && echo 1 && 
exit 0; echo 0)

...the status of openssl-devel determines which library is used, and 
since neither devel package is installed yet, the latter is preferred.  
This isn't a bug, but I thought it was worth pointing out.

When gnutls is used, however, the spec file lists:

BuildPreReq:      gnutls-devel
Requires:         /usr/bin/certtool

It should list gnutls-utils as both BuildPreReq and Requires.  If it's 
not listed as BuildPreReq, then the configure scripts won't find the 
correct path for certtool, and the mk*cert scripts will be broken in the 
resulting packages.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to