[Fedora-packaging] %{macro} vs. %macro in spec files
Alexey I. Froloff
raorn at raorn.name
Fri Apr 19 08:53:06 UTC 2013
There are two forms of using macros in spec files - %{macro} and
%macro. RPM supports second form since 4.0, IIRC.
In one of my packaged I used %_bindir macro and was told by
reviewer to change it to %{_bindir}. OTOH, %configure is also a
macro, but it is widely used without curly brackets.
What's the point of using %{macro} form for some, but not all
macros?
--
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/20130419/2c6bca1b/attachment.sig>
More information about the packaging
mailing list