Mailinglist Archive: opensuse-buildservice (350 mails)

< Previous Next >
Re: [opensuse-buildservice] local obs question
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Thu, 31 Jul 2008 10:59:20 +0200
  • Message-id: <20080731085920.GA5970@xxxxxxx>
On Thu, Jul 31, 2008 at 08:32:28AM +0000, Christian wrote:
before using a local obs I was building packages with "build".
There I was able to use inside specfile:

Release: 1.CS

Is there a possibility to use this with obs ?

Yes. Actually, you have multiple possiblities:

1) use the build service automatic numbering

a) specify a scheme for all packages of a project by putting
a "Release: schema" line in your project config
The default schema is "<CI_CNT>.<B_CNT>"

b) modify the scheme in some way in the package
You can do this by using the string <RELEASE> in the
specfile, e.g. if you use
Release: <RELEASE>.CS
the build service will subsititute <RELEASE> with the scheme
defined in the project.
using <CI_CNT> and <B_CNT> here isn't implemented yet.

2) turn off automatic numbering
Set the release scheme to the empty string in the project config,
i.e. add a
Release:
line

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References