Mailinglist Archive: opensuse-buildservice (350 mails)

< Previous Next >
Re: [opensuse-buildservice] local obs question
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Thu, 31 Jul 2008 14:59:34 +0200
  • Message-id: <20080731125934.GA20923@xxxxxxx>
On Thu, Jul 31, 2008 at 12:29:13PM +0000, Christian wrote:
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 ?

Yes, exactly.

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
%else
Release: 4.CS
%endif

Yep, that should work as well.

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