Mailinglist Archive: opensuse-buildservice (350 mails)

< Previous Next >
Re: [opensuse-buildservice] local obs question
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Thu, 31 Jul 2008 15:29:45 +0000
  • Message-id: <4891DA69.6070208@xxxxxxxxxxxxxxxx>
Hi Luke,

Luke Imhoff schrieb:
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
There is a much easier way, if you want to do this inside spec-file only
Just read complete thread.


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

< Previous Next >
Follow Ups