Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] Build Repository name added to resulting filename?
  • From: Christopher Lang <christopher.lang@xxxxxxxxxx>
  • Date: Wed, 7 May 2008 19:43:52 +0200
  • Message-id: <200805071943.53164.christopher.lang@xxxxxxxxxx>


thanks for the reply. Yes, it did work as you described, but it it does not
produce the desired output:

For example:

Release: _12.34%_repository%%{?releasesuffix}

produces this output:


Instead of "standard" it should say "SUSE_Linux_10.1".

Might be a bug. If you think so too I'll put in in bugzilla.


Am Dienstag 06 Mai 2008 21:44:05 schrieb Michal Marek:
Christopher Lang napsal(a):

I went through the hint at:

but couldn't get it to work.

Playing with:
Release: <CI_CNT>.<B_CNT>%%{?releasesuffix}

in the conf file didn't do much.

It probably did work, but didn't do what you expected. Release:
<CI_CNT>.<B_CNT>%%{?releasesuffix} sets the Release: line in the spec
file to something like

Release: 12.34%{?releasesuffix}

which expands to plain 'Release: 12.34' unless there's a releasesuffix
defined. If you want to include the repository name, use the
%_repository macro.


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

< Previous Next >