On Tuesday May 22 2007, Marcus Rueckert wrote:
On 2007-05-22 14:30:42 +0200, Dries Verachtert wrote:
Where can i find the piece of code which alters the release tag of the spec file? Is there maybe a way to avoid or influence this behaviour?
For example the following is logged in the build log:
I have the following modifications for aget-openSUSE_10.2.spec: 10c10 < Release: 5.2.opensuse10.2.rf ---
Release: 17.1
i am not sure if it would be easy to get that string. i dont think we set something like %dist by default. and the distribution tag itself is way too long and contains whitespaces and other ugly chars.
I already added that string in the release tag of the spec file aget-openSUSE_10.2.spec.. It's just that the opensuse buildsystem doesn't use this release tag.
How is the '17' and the '1' calculated? Is it possible to append or prepend something?
x.y: x == number of changes to the package (aka uploaded files) y == number of rebuilds. if b depends on a and a is rebuild, it will trigger a rebuild of b and you will will end with 17.2 (in your example)
So it's not possible to override the release tag at this moment? Maybe the buildsystem could replace the release tag with something like '17.2%{?releasepostfix}' instead of '17.2', so people who want to append something to the release tag simply have to add a '%define releasepostfix bla' somewhere in the spec file? The reason for me for adding a repotag: i make rpms for different versions of distributions and i often get bugreports like "i downloaded and installed something-vers-rel.arch.rpm on my somedistro and it doesn't work!". Often users take an rpm for another distribution and just expect it to work. It makes life a lot easier for me if the name-version-release combination already contains an indication of which rpm exactly they're using. kind regards, Dries --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org