Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] How to bump release numbers?
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 14 Nov 2008 09:48:34 +0100
  • Message-id: <200811140948.34714.adrian@xxxxxxx>
On Donnerstag 13 November 2008 23:54:32 Michael_E_Brown@xxxxxxxx wrote:
Sorry for the toppost, but:

<CI_CNT> = checkin count
<B_CNT> = build count

Not that I knew any of this... :) The guys on IRC were pretty helpful in
discussing it.

For one of my projects, I ended up setting:
Release: 99dell.<CI_CNT>.<B_CNT>.%%{?dist}


-----Original Message-----
From: Philipp Thomas [mailto:Philipp.Thomas2@xxxxxxx]
Sent: Thu 11/13/2008 4:39 PM
To: opensuse-buildservice@xxxxxxxxxxxx
Cc: mls@xxxxxxx
Subject: Re: [opensuse-buildservice] How to bump release numbers?

On Thu, 13 Nov 2008 14:40:00 -0700, you wrote:
It's not at all clear to me how I can use this to do what I need. In
fact I think it doesn't help at all. Could someone elaborate?

Let's see if Michael can explain it himself :)

Michael in

You wrote

It's now implemented a bit different. The release scheme is now
part of the project configuration, i.e. you can put a line

Release: <CI_CNT>.<B_CNT>%%{?releasesuffix}

in the project.conf file.

Could you explain that line a bit?

CI_CNT is the checkin count, which means the counter of source changes since
the last time the version has been changed.

B_CNT is the build count, the counter of rebuilds without source changes.

These, including the rpm macros, get replaced on build time.

But you should not mess it up or you run in all kind of package update
problems, like changing rpm content without release number changes. Which will
lead to security/validity alerts in package managers.



Adrian Schroeter
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
email: adrian@xxxxxxx

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

< Previous Next >