[Rpm-metadata] Dependency relations

John Daily jdaily at progeny.com
Fri May 28 18:59:27 UTC 2004


>   Requires: python >= 2.3, python < 2.4

With Discover 2 we faced the same problem (representing version
ranges in XML).  We chose to use interval notation:

    version="[2.3, 2.4)"

If all that was available was a lower bound, we used "inf":

    version="[2.3, inf)"

We felt it was much more concise and easier to visually parse.

It's relatively easy to glance at the following and recognize the
ordering error; it would be tougher if the two values were
documented separately.

    version="[2.4, 2.3)"


See: http://platform.progeny.com/discover/guide.html#sc-data_element_version_attribute

--
John R. Daily                                        jdaily at progeny.com
Director of Technology                            Progeny Linux Systems
                    Master of the ephemeral epiphany



More information about the Rpm-metadata mailing list