The RPM specs supports multiple requires for a single package. For example:
requires: somepackage >= 0.5.0, somepackage < 0.6.0
Unfortunately this does not work with Redline since it stores everything in a Map (in Builder.java ), so having multiple dependencies of the same package will result in the latest value winning.
The RPM specs supports multiple requires for a single package. For example:
requires: somepackage >= 0.5.0, somepackage < 0.6.0
Unfortunately this does not work with Redline since it stores everything in a Map (in Builder.java ), so having multiple dependencies of the same package will result in the latest value winning.
For example take the following ant script:
It should create an rpm that has two requires entries:
somepackage >= 1.2
somepackage < 1.3
But examining the rpm using
rpm -qpR test-1.2.3.rpm
shows that it only hassomepackage < 1.3
Both
depends
andconflicts
should support multiple values for the same name.