Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
Re: [opensuse-buildservice] Need help on "Release:" in projconf
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Thu, 26 Aug 2010 10:45:50 +0200
  • Message-id: <4C7629BE.1040607@xxxxxxxxxxxxxxxx>

try in prjconf
Release: <CI_CNT>.<B_CNT>.CS


Am 26.08.2010 08:50, schrieb Manjunath_A_Pattansh@xxxxxxxx:

I need to override the projconf's "Release:" with 'CI_CNT' and 'B_CNT'
with the "Release:" details from the spec file. But I noticed that it
doesn't happens without CI_CNT and B_CNT in the "Release:" value in the
spec file. That is if I just give "Release: myrel%(?dist)", the
projconf's "Release:" overrides this. But if I include "Release:
myrel.<CI_CNT>.<B_CNT>%{?dist}" in the spec file it happens but
conditional. In some cases I get error for RHEL6 and SLES11 saying
invalid "<" character. But on the rest of distros passes with nil values
for CI_CNT and B_CNT.

I need the correct behavior for this or how I can achieve it from the
spec file without modifying the projconf file. My requirement is to have
"-myrel.<valueof:CI_CNT>.<valuof:B_CNT>.sles.rpm" as suffix.

Manjunath A. Pattanshetti


Der ultimative shop für Sportbekleidung und Zubehör

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

< Previous Next >