Mailinglist Archive: opensuse-buildservice (284 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] negation of buildconfig Substitute does not work
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Fri, 19 Oct 2007 17:14:11 +0200
- Message-id: <20071019151411.GA24994@xxxxxxx>
On Fri, Oct 19, 2007 at 05:01:23PM +0200, Stanislav Brabec wrote:
> In GNOME:STABLE we have updated metacity and we need to negate global
> 10.2 rule:
> Substitute: metacity-devel metacity
>
> "Substitute: !metacity-devel" did not help and build still rewrites
> metacity-devel to metacity.
Hmm, I don't see why, the code looks good to me:
$ll = shift @l;
if ($ll eq '!*') {
$config->{'substitute'} = {};
} elsif ($ll =~ /^!(.*)$/) {
delete $config->{'substitute'}->{$1};
} else {
$config->{'substitute'}->{$ll} = [ @l ];
}
> I am just now going to use a work-around proposed by darix:
> Substitute: metacity-devel metacity-devel
I'd prefer the more clean '!req', but such a substitute will
also do the trick.
> Is it possible to fix https://bugzilla.novell.com/show_bug.cgi?id=332132
> in the same script as well?
It's possible to fix it, but it's not the same script ;-)
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
> In GNOME:STABLE we have updated metacity and we need to negate global
> 10.2 rule:
> Substitute: metacity-devel metacity
>
> "Substitute: !metacity-devel" did not help and build still rewrites
> metacity-devel to metacity.
Hmm, I don't see why, the code looks good to me:
$ll = shift @l;
if ($ll eq '!*') {
$config->{'substitute'} = {};
} elsif ($ll =~ /^!(.*)$/) {
delete $config->{'substitute'}->{$1};
} else {
$config->{'substitute'}->{$ll} = [ @l ];
}
> I am just now going to use a work-around proposed by darix:
> Substitute: metacity-devel metacity-devel
I'd prefer the more clean '!req', but such a substitute will
also do the trick.
> Is it possible to fix https://bugzilla.novell.com/show_bug.cgi?id=332132
> in the same script as well?
It's possible to fix it, but it's not the same script ;-)
Cheers,
Michael.
--
Michael Schroeder mls@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |