Re: %{expand:...} documentation

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

 




On Aug 27, 2007, at 3:08 PM, Jos Vos wrote:

On Mon, Aug 27, 2007 at 02:59:08PM -0400, Jeff Johnson wrote:

I think this is an example of proper use (as there is a recursion),
right?

%{expand: %%define _includedir %{_includedir}/%{name}}

In this case, it really doesn't matter how often "%{_includedir}/%
{name}" is
expanded. Well, it _MAY_matter if the value of %{name} is changing,
but I doubt you can really solve the problem of, say, %{name} possibly
changing
meaningfully by using %{expand:...}.

Uhh... now I'm confused.  I tried:


No I missed the recursive expansion. Yes, %{expand:...} needs to be used,
or the recursion needs to be avoided somehow.

73 de Jeff

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux