Re: %{macro} vs. %macro in spec files

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

 



Hello All!

2013/4/19 Alexey I. Froloff <raorn@xxxxxxxxxx>:

> What's the point of using %{macro} form for some, but not all
> macros?

That's mostly a cosmetic issue but sometimes this *could* cause a real problem.

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.

I saw this issue once but didn't remember exact details.

--
With best regards, Peter Lemenkov.
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux