Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS: set release number of package?
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 17 Aug 2010 17:34:31 +0200
  • Message-id: <201008171734.32138.adrian@xxxxxxx>
On Tuesday 17 August 2010 17:33:13 Jon Nelson wrote:
On Tue, Aug 17, 2010 at 10:10 AM, Adrian Schröter <adrian@xxxxxxx> wrote:
On Tuesday 17 August 2010 17:01:15 Jon Nelson wrote:
On Tue, Aug 17, 2010 at 9:55 AM, Marcus Rueckert <darix@xxxxxxxxx> wrote:
On 2010-08-17 09:54:00 -0500, Jon Nelson wrote:
Is there a way to tell the OBS to set the release number of a package
to some arbitrary number (or to increase it by some number)?

For example, let's say foo version 1.0 and has been checked in 3 times
and rebuilt twice. I think the package would then be
foo-1.0-3.2.$arch.rpm. Let's say I'd like to set the check in count
to 5 (and reset the build count). Is there an easy way to do this
without /actually/ checking in a number of dummy commits?

check in a spec that has
Release: 5

According to the docs here:

The release field in the spec file is ignored and replaced by
<CI_CNT>.<B_CNT>, where <CI_CNT> represents the check-in count and
<B_CNT> represents the build count. Is that not accurate?

it is correct. But if the release number in the spec file is higher than
will get increased to its value.

Sweet! Perhaps that ought to be added to the docs.
Is that something I can do?


We need more people who improve the OBS docu in the wiki.

thanks a lot

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >