Mailinglist Archive: opensuse-buildservice (350 mails)

< Previous Next >
Re: [opensuse-buildservice] local obs question
  • From: Luke Imhoff <luke@xxxxxxxx>
  • Date: Thu, 31 Jul 2008 08:51:13 -0500
  • Message-id: <1217512274.19164.32.camel@xxxxxxxxxxxxxxxxxxx>
osc meta prjconf <obs_project_name> -e

At the top of the prjconf before the Macros: section (if you have one):

Release: %%{?release_prefix}<CI_CNT>.<B_CNT>%%{?release_suffix}

Then in the spec do:

%define release_suffix .CS

The double % in the Release line definition are needed because it's
processed twice. The %{?<var>} form means only include the variable if
it's defined.

On Thu, 2008-07-31 at 13:38 +0000, Christian wrote:
Hi Michael,

Michael Schroeder schrieb:
not sure which file you're thinking about.
/srv/obs/projects/SUSE:SLE-10.conf ?


Yes, exactly.
added at the end of /srv/obs/projects/SUSE:SLE-10.conf

Release: <RELEASE>.CS

no success.

and tried:

Release: <CN_CNT>.<B_CNT>.CS

no success.

tried restarting obs-server and obs-worker, but no success.
What am I doing wrong ?
Can you provide me with an example ?

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


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

< Previous Next >
Follow Ups