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>

Hi,

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:

my-kmp-smp-1.2.2_2.6.16.13_4-_12.34standard.i586.rpm

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.

thanks
Chris


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

I went through the hint at:
http://lists.opensuse.org/opensuse-buildservice/2007-06/msg00062.html

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.

hth,
Michal

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

< Previous Next >