[Fedora-packaging] %{macro} vs. %macro in spec files
Alexey I. Froloff
raorn at raorn.name
Fri Apr 19 09:12:53 UTC 2013
On Fri, Apr 19, 2013 at 01:00:31PM +0400, Peter Lemenkov wrote:
> Let's say someone defines a macro "_bindirmacro", and actually starts
> using it in a spec-files. Then there will be an ambiguity during
> substituting %_bindirmacro - is this %{_bindir}macro or
> %{_bindirmacro}? Adding brackets will resolve this.
%_bindir will never be substituted in %_bindirmacro. Another
thing that comes to mind is mass greps.
--
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/7ee0502e/attachment.sig>
More information about the packaging
mailing list