[opensuse-buildservice] Problems with Release tag in spec files
I'm a new user of the openSUSE Build Service and have some problems with the way it treats the 'Release:' tag in spec files; I'd be grateful for any help. For reasons to do with the way I work, I want the RPMs to be built with unique names that show the SUSE version they were built for. 'Versioned' release numbers, as described in section 1.10 of the Package Conventions document, seemed to be the way to go. But the OBS seems to change Release numbers: - '1020.b1' to '1021.1'. - '0%{?suse_version}.11' (same package) to '1022.1'. - '1020.11' (another package) to '1020.1' - '1020.11' (same package rebuilt) to 1021.1, 1022.1 ... Some of the things I'm wondering: Is there any documentation that explains the rules in more detail than the Package Conventions document? Is it possible to use versioned release numbers in the OBS, without having the first part incremented and the second part reset to '1' each time, as seems to be happening in the above examples? Is it possible to have the OBS generate the '1020' bit of the Release number according to the target openSUSE version, as I tried to do in the second example above? Is it possible to tell the OBS not to update the Release number, or alternatively to reset it (short of the drastic step of deleting and re-creating the package)? -- Richard Stonehouse --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-02-16 04:40:35 +0000, Richard Stonehouse wrote:
I'm a new user of the openSUSE Build Service and have some problems with the way it treats the 'Release:' tag in spec files; I'd be grateful for any help.
For reasons to do with the way I work, I want the RPMs to be built with unique names that show the SUSE version they were built for.
'Versioned' release numbers, as described in section 1.10 of the Package Conventions document, seemed to be the way to go.
But the OBS seems to change Release numbers:
- '1020.b1' to '1021.1'. - '0%{?suse_version}.11' (same package) to '1022.1'. - '1020.11' (another package) to '1020.1' - '1020.11' (same package rebuilt) to 1021.1, 1022.1 ...
Some of the things I'm wondering:
Is there any documentation that explains the rules in more detail than the Package Conventions document?
Is it possible to use versioned release numbers in the OBS, without having the first part incremented and the second part reset to '1' each time, as seems to be happening in the above examples?
Is it possible to have the OBS generate the '1020' bit of the Release number according to the target openSUSE version, as I tried to do in the second example above?
Is it possible to tell the OBS not to update the Release number, or alternatively to reset it (short of the drastic step of deleting and re-creating the package)?
you want: http://lists.opensuse.org/opensuse-buildservice/2007-06/msg00062.html -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Marcus Rueckert
-
Richard Stonehouse