[Fedora-packaging] RPM macro for /usr/lib/rpm/macros.d?

Panu Matilainen pmatilai at laiskiainen.org
Sat Mar 16 16:06:30 UTC 2013


On 03/16/2013 05:39 PM, Björn Persson wrote:
> I have a file of RPM macros (macros.gnat) which has been in /etc/rpm
> until now. I agree with the recent decision that such files aren't
> configuration, and therefore I'm moving it to /usr/lib/rpm/macros.d.
>
> Should I write the path as "%{_rpmconfigdir}/macros.d", or is there a
> better macro to use?

%{_rpmconfigdir}/macros.d is correct, at least for now there's no 
"shorthand" macro for that.

	- Panu -



More information about the packaging mailing list