[Rpm-ecosystem] Wish: Modular RPM recipe capability
Orion Poplawski
orion at cora.nwra.com
Fri May 15 21:50:02 UTC 2015
On 05/15/2015 01:59 PM, Conan Kudo (ニール・ゴンパ) wrote:
> How do I make macros?
I would have thought that google would lead to a good doc, but I didn't see
one instantly.
Basically drop a file named macros.foo (or macros.whatever) in
/usr/lib/rpm/macros.d or /etc/rpm with something like:
%macroname value
See existing macros.* files for hints. You can even have arguments but that's
advanced/tricky.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the Rpm-ecosystem
mailing list