Le mardi 21 juin 2011 à 23:36 +0200, Christian Boltz a écrit :
Hello,
on Dienstag, 21. Juni 2011, Frederic Crozat wrote:
Le mardi 21 juin 2011 à 13:42 +0200, Christian Boltz a écrit :
This is crying for a %systemd_requires macro ;-)
Indeed ;)
%systemd_requires Requires(post): systemd-units \ Requires(preun): systemd-units \ Requires(postun): systemd-units
(the content of this macro could be distro specific, if other rpm distro don't want to use systemd-units as package name for the one containing systemctl
Is there a special reason why you tend to make it different again? ;-)
Because it already exists on Fedora and not only contains systemctl but
also add default .units :
http://pkgs.fedoraproject.org/gitweb/?p=systemd.git;a=blob;f=systemd.spec;h=...
--
Frederic Crozat