[opensuse-buildservice] Need help on "Release:" in projconf
Hi,
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.
Hi
try in prjconf
Release:
Hi,
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.
. %{?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.
Thanks, Manjunath A. Pattanshetti
-- Christian --------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de --------------------------------------------------- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Christian,
The prjconf already has this line. Suppose it has the this line "Release:
Hi,
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.
. %{?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.
Thanks, Manjunath A. Pattanshetti
-- Christian --------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de --------------------------------------------------- -- 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
On Thu, Aug 26, 2010 at 12:20:37PM +0530, Manjunath_A_Pattansh@Dell.com wrote:
But if I include "Release: myrel.
. %{?dist}" in the spec file it happens but conditional.
This should work (and not be conditional). What version of 'build' are you using? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Apparently I realized from archive mails that we could use <Release> variable in the spec. This helped me. Thanks, Manjunath A. Pattanshetti -----Original Message----- From: Michael Schroeder [mailto:mls@suse.de] Sent: Thursday, August 26, 2010 2:51 PM To: Pattansh, Manjunath A Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] Need help on "Release:" in projconf On Thu, Aug 26, 2010 at 12:20:37PM +0530, Manjunath_A_Pattansh@Dell.com wrote:
But if I include "Release: myrel.
. %{?dist}" in the spec file it happens but conditional.
This should work (and not be conditional). What version of 'build' are you using? Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Christian
-
Manjunath_A_Pattansh@Dell.com
-
Michael Schroeder