On Wed, 24 Mar 2004, James Olin Oden wrote: > Hi All, > > I am trying to create a macro that uses %* inside double quotes, so I have > something like the following /etc/rpm/macros: > > %macroX(p:) \ > echo "'%{-p:-p=%{-p*}}' '%{*}'" \ > %{nil} > > And then in my test spec file I have something like this: > > %macroX -p stuff hello there > > When I build the rpm it expands to: > > echo "'-p=stuff' ' hello there'" > > And displays when ran: > > '-p=stuff' ' hello there' > > Note in the leading space where %* was evaluated? What is up with this, > and can I get it not to do that? > Its a bug. Its been filed as bugzilla #119059. Hopefully, I will have fix for this little nit soon (everyone needs an excuse to peer at the macro processor code in rpm right? (-;). Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list