Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
Re: [opensuse-buildservice] OBS: set release number of package?
  • From: Jon Nelson <jnelson-suse@xxxxxxxxxxx>
  • Date: Tue, 17 Aug 2010 10:01:15 -0500
  • Message-id: <AANLkTik-kAc7nerpBeGAoa1ox9hbLC3RGcbK+QBkHeVB@xxxxxxxxxxxxxx>
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?

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

< Previous Next >
Follow Ups