I've run into a problem where I want to build a package (smail-3.2) that
normally won't conflict with postfix, but if I define an option to build it
with sendmail support it would then Provide MTA and Conflict with postfix
and other MTAs.  I want to be able to include the package on all systems,
and in this case, use it with the sendmail support on systems that only do
e-mail via uucp.

I have this in the specfile:

%if %{with_sendmail} == "yes"
Provides:     MTA
Conflicts: postfix, exim, sendmail, ssmtp
%endif

The problem is that openpkg sees this as a conflict when I try to do a
build with_sendmail=no.

I'm trying to do this on the release 1.3 tree on production systems, and
don't want to get into the middle of the current right now with all the
changes going on with the RPM change.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``...I'm not one of those who think Bill Gates is the devil.  I simply
suspect that if Microsoft ever met up with the devil, it wouldn't need an
interpreter.'' -- Nick Petreley
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to