On Fri, Dec 25, 2015 at 2:10 AM, Jason L Tibbitts III <[email protected]> wrote:
>>>>>> "JJ" == Jerry James <[email protected]> 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
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to