On Sat, May 19, 2018 at 02:38:13PM +0100, Sérgio Basto wrote:
On Fri, 2018-05-18 at 17:54 -0500, Jason L Tibbitts III wrote:
> > > > > > "ES" == Eric Smith <spacewar(a)gmail.com>
writes:
>
> ES> What macro(s) should I use in an RPM spec to refer to a directory
> ES> like /usr/lib/modules-load.d, which is under /usr/lib even if
> libdir
> ES> is /usr/lib64? Is there something better than
> ES> %{_usr}/lib/modules-load.d?
>
> It seems that there isn't. I would just use /usr/lib/modules-load.d
> directly.
>
> You will get an rpmlint complaint about direct use of /usr/lib, I
> suppose. Not much to be done about that. Technically a macro for
> this
> could be added, but only a few packages need to do this so I suspect
> it
> wouldn't be worth it.
from VirtualBox.spec we use :
%{_prefix}/lib/modules-load.d/
https://github.com/systemd/systemd/pull/9036
Zbyszek