[Fedora-packaging] Question regarding min and max dependencies

Shawn Iwinski shawn.iwinski at gmail.com
Thu Mar 7 15:47:56 UTC 2013


Is it valid to use 2 requires of the same dependency for min / max
versions?  For example, I have a package "foo" that depends on package
"bar" >= 1.0 and also "bar" < 2.0.

I have seen many packages use this:
Requires: bar >= 1.0
Conflicts: bar >= 2.0

but I would like to use the following (which may help with finding
dependencies using repoquery):
Requires: bar >= 1.0
Requires: bar < 2.0

Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20130307/60dde08c/attachment.html>


More information about the packaging mailing list