[Rpm-maint] OR'ed dependency check
Per Øyvind Karlsen
pkarlsen at mandriva.com
Thu Feb 28 10:10:43 UTC 2008
> Hi ALL,
>
>
> I'm desperate to find help anywhere else, so, I ask you here.
> I need to OR dependency check in my rpm. In the header "Requires" entry. I
> need to have something like this:
>
> Requires: foo && boo || moo && boo
>
> Is there any way to accomplish that? Are there good RPM manuals on the net
> more fresh that from 2002?
>
> Any help would be greatly appreciated.
The proper way would be to use provides,,, ie foo and bar providing foobar
would be the equivalence of 'foo || bar'.
rpm.org doesn't have support for the way you want it, but on a sidenote
rpm5.org has had support for such since rpm-4.4.9.. ;)
--
Regards,
Per Øyvind Karlsen
Mandriva Norway
More information about the Rpm-maint
mailing list