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?
Björn Persson
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 -
Panu Matilainen wrote:
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.
OK, thanks.
Björn Persson
packaging@lists.fedoraproject.org