Mailinglist Archive: opensuse-buildservice (350 mails)

< Previous Next >
Re: [opensuse-buildservice] local obs question
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Thu, 31 Jul 2008 12:29:13 +0000
  • Message-id: <4891B019.4020407@xxxxxxxxxxxxxxxx>
Hi Michael,

Michael Schroeder schrieb:
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>"
not sure which file you're thinking about.
/srv/obs/projects/SUSE:SLE-10.conf ?
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.
This works. great.
Will this work too ?

%if 0%{?opensuse_bs}
Release: <RELEASE>.CS
Release: 4.CS
2) turn off automatic numbering
Set the release scheme to the empty string in the project config,
i.e. add a


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

< Previous Next >
Follow Ups