Re: SPEC-file: "Requires"-field with alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 06, 2005 at 05:48:42PM +0100, Zbigniew Baniewski wrote:
> On Sun, Nov 06, 2005 at 05:16:04PM +0100, Jos Vos wrote:
> 
> > But it is possible to provide/require virtual packages.
> > Example: sendmail and postfix both have a "Provides: smtpdaemon".
> 
> Thanks - perhaps such "workaround" will do.
> 
> > An application requiring some SMTP mailer may have a
> > "Requires: smtpdaemon", a condition satisfied when sendmail
> > and/or postfix is installed.
> 
> But I understand, that in such case it's not possible to specify a version,
> like this:
> 
> Requires: smtpdaemon >= 5.1
> 
> Or perhaps possible - but not recommended?

Adding versions is fine and fully supported: "Provides: smtpdaemon = 2.0"
You just have to be consistent about how the usage is in all your
packages.

regards,

Florian La Roche

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux