Le lundi 20 mai 2013 à 19:58 -0700, T.C. Hollingsworth a écrit : > On Sat, May 18, 2013 at 2:44 PM, Michael Scherer <m...@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?)
Yes, I agree with this suggestion. This way, even if a new rpmlint release was used on a "old" openSUSE (where /lib/systemd/system was used), it would still work. -- Frederic Crozat <fcro...@suse.com> SUSE _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel