Re: Specs using %define

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

 



On Fri, Dec 25, 2015 at 2:10 AM, Jason L Tibbitts III <tibbs@xxxxxxxxxxx> wrote:
>>>>>> "JJ" == Jerry James <loganjerry@xxxxxxxxx> writes:
>
> JJ> This uses a %define inside the %check script as a convenient macro,
> JJ> used only inside the %check script; i.e., it really is a local
> JJ> definition.
>
> But %define isn't a "local definition" in the sense that you're thinking
> of.  It's certainly visible outside of %check, for example.  Which
> actual property of %define are you relying upon here?  I don't think
> you're doing anything specific with nested macro expansions.

Also, if the definitions are really local to some specfile shell code
sections, there's probably no need to involve rpm in them at all --
regular shell variables or functions can be used instead.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx



[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