Mailinglist Archive: opensuse-buildservice (260 mails)

< Previous Next >
Re: [opensuse-buildservice] Cannonical names for debs [BUG]
Ok, if that's the policy, that's fine then. osc still needs to be
changed to not key off of the 'release' attribute to determine the
whether to use rpm or deb format then.

On Fri, 2009-12-04 at 11:27 -0600, Michael Schroeder wrote:
On Fri, Dec 04, 2009 at 10:21:39AM -0600, Luke Imhoff wrote:
Seems there's a parsing error on the server too:

<bdep arch="amd64" name="bash" notmeta="1" preinstall="1"
project="Ubuntu:9.10" release="5ubuntu2" repository="standard"
version="4.0" />

debs never have releases, it's all in version, but bash's version is
4.0-5ubuntu2, so the server is miss parsing the version as a version and
release.

The server splits it into version-release if the string contains
a '-', otherwise it sets only the version.
I think this makes sense, the upstream bash version is "4.0",
"5ubuntu2" is some release scheme from ubuntu.

This is pretty much in line with the Debian Policy Manual,
which states:

5.6.12 Version
The version number of a package.
The format is: [epoch:]upstream_version[-debian_revision]

Cheers,
Michael.



--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups