I actually do a bunch of more stuff with %{release_suffix} in the Macros section of my projects to handle the release versioning scheme my company came up with, so it's not as simple as I made it in my response. On Thu, 2008-07-31 at 15:29 +0000, Christian wrote:
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.
Release: PREFIX.<RELEASE>.SUFFIX
Cheers Chris
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org