[systemd-devel] System units packaging and rpmlint

T.C. Hollingsworth tchollingsworth at gmail.com
Mon May 20 19:58:09 PDT 2013


On Sat, May 18, 2013 at 2:44 PM, Michael Scherer <misc at zarb.org> wrote:
> So I planned to warn if the unit are directly in /lib, but I know there
> is some distribution that didn't choose this path yet. So when /usr is
> not merged, what is the canonical location ( ie, for Opensuse, Mandriva,
> since they are both rpm based ) ?

Shouldn't rpmlint just make sure the spec uses "%{_unitdir}"?  Nothing
except the systemd package should hardcode this directory.

(Or if the check has to be on the binary RPM side, just `rpm --eval
'%_unitdir'` for the right location?)

-T.C.


More information about the systemd-devel mailing list