[Fedora-packaging] Use of macros for standard commands & wishlist of helper programs

Jeremy Katz katzj at redhat.com
Wed May 20 20:27:31 UTC 2009


On Wednesday, May 20 2009, Tom spot Callaway said:
> On 05/20/2009 02:39 PM, Jussi Lehtola wrote:
> > First: should we have a policy of using macros for standard commands?
> > RPM includes standard macros such as %{__mv}, %{__rm}, %{__mkdir},
> > %{__cp}, %{__python}, %{__perl} and so on, which are used by some
> > people.
> > 
> > I find that the use of these macros unnecessarily obscures the spec file
> > and thus would like to have the ban on these as part of the Packaging
> > Guidelines.
> 
> They're not incorrect, so while I personally agree that these are
> generally unnecessary, I'm not sure it merits a ban.

And really, if we don't want them being used, then we should just not
have them defined as rpm macros IMHO

Jeremy




More information about the Fedora-packaging mailing list