[Fedora-packaging] %{macro} vs. %macro in spec files

Alexey I. Froloff raorn at raorn.name
Thu Apr 25 11:28:22 UTC 2013


On Thu, Apr 25, 2013 at 07:33:20AM +0900, Mamoru TASAKA wrote:
> $ rpm --eval "%{gem_install} -n foobar.gem"
And rpm --eval "%{gem_install -n foobar.gem}" expands correctly.
Yes, I am aware how RPM expands macros.

But my question was - CAN I use %macro in specs, or I MUST use
%{macro} form always, with exception for %configure (and what
else?) ?

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20130425/99d4f953/attachment.sig>


More information about the packaging mailing list