Using generally useful macros

Adam Williamson awilliam at redhat.com
Sat Mar 13 17:15:52 UTC 2010


On Sat, 2010-03-13 at 19:10 +0200, Nikolay Ulyanitsky wrote:
> Hi
> 
> There are a lot of generally useful macros in Fedora, which are not
> described in the Fedora wiki: %__awk, %__bzip2, %__cat, %__chgrp,
> %__chmod, %__chown, %__cp, %__cpio, %__file, %__gpg, %__grep,
> %__gzip, %__id, %__install, %__ln_s, %__lzma, %__xz, %__make,
> %__mkdir, %__mkdir_p, %__mv, %__patch, %__perl, %__pgp, %__python,
> %__rm, %__rsh, %__sed, %__ssh, %__tar, %__unzip, etc.
> 
> These macros are defined in /usr/lib/rpm/macros.
> 
> Some maintainers use them, some do not.
> 
> What is recommended way?

I've always considered most of those to be fairly useless, since the
chance of any of those command names changing on a timescale we care
much about is pretty tiny.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net



More information about the devel mailing list