[Rpm-maint] [PATCH] forbid #%define

devzero2000 pinto.elia at gmail.com
Fri Jun 6 15:56:23 UTC 2008


>IMO the real problem in this whole thing is the horrible inconsistency in
comment handling. %patch and %setup are "macros" yet  > they can be
commented out with #. %build and such are section markers despite looking
similar to macros,

IMHO, in RPM 4.4.2 %patch is a "semi-macros", e.g. expanded ad hoc in
build/parsePrep.c in doPatch function. While in rpm5 it is a true macro
defined in /usr/lib/rpm/macros - with some particular logic   in
rpmio/macro.c. In effect in the first rpm5 implementation the problem
discussed in this thread was also for #%patch

Only for precision

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-maint/attachments/20080606/851f9141/attachment-0001.htm 


More information about the Rpm-maint mailing list