On Tue, 29 May 2001 22:45:12 +0100 (BST)
Michael Brown <[EMAIL PROTECTED]> wrote:
> Is there any way to set up spec files so that only one RPM in a
group can
> be installed. I'm thinking along the lines of:
>
> Each of the packages foo-abc, foo-def and foo-xyz provides "foo"
smtpdaemon is like this.
It's provided by sendmail, postfix...
> Only one of packages foo-abc, foo-def and foo-xyz should be able to
be
> installed at any one time.
>
> From memory, if I put "Provides: foo", "Conflicts: foo", then all
packages
> will refuse to install.
I have here exim installed (smtpdaemon). When installing postfix it
doesn't mention a conflict, or an automatic remove of exim.
In the specfile there are specific conflicts set with sendmail and
qmail. Since exim isn't in Mandrake, it's not set as a conflict.
It does conflict, because files of the 2 packages are conflicting, so
the rpm install aborts.
You might want to look at how this is set up, if this is what you
mean.
--
Marcel Pol
[EMAIL PROTECTED]