Re: Heads-up: %define vs %global in specs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 07, 2010 at 11:54:14AM +0200, Panu Matilainen wrote:
> On Tue, 5 Jan 2010, Panu Matilainen wrote:
> 
> >
> >For the impatient:
> >
> >Starting with today's rawhide, the these kind of constructs in
> >specs no longer "work":
> >	%{?!foo: %define foo bar}
> >For the generally desired effect, the above simply becomes:
> >	%{?!foo: %global foo bar}
> >
> >This is already recommended by the Fedora guidelines, but packages
> >which haven't been updated to follow the guideline might need
> >revising:
> >https://fedoraproject.org/wiki/Packaging/Guidelines#.25global_preferred_over_.25define
> 
> FYI, this change broke font package macros.
> 
> I've reverted the macro scoping "fix" until I have a chance to
> properly investigate the breakage (possibly some quirk related to
> %{lua: ...} macros).
> 
I've updated the %global preferred over %define section to say that the bug
is fixed in F13 so people should definitely avoid %{?!foo: %define [..]}
type constructs.  If this doesn't make it back in in time for F13, let me
know and I'll update for when we do fix it.

-Toshio

Attachment: pgp3ICqoUwJzV.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux