[rwho] systemd unit file mod fix removed non-essential Requires: /sbin/chkconfig /etc/init.d

Jan Horak hhorak at fedoraproject.org
Wed Dec 7 14:38:25 UTC 2011


commit 1f0e64d31f973f4460091062306a55acc6fecc07
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Wed Dec 7 15:21:02 2011 +0100

    systemd unit file mod fix
    removed non-essential Requires: /sbin/chkconfig /etc/init.d

 rwho.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rwho.spec b/rwho.spec
index 1797b42..0f08227 100644
--- a/rwho.spec
+++ b/rwho.spec
@@ -17,7 +17,6 @@ Patch7: netkit-rwho-0.17-time.patch
 Patch8: netkit-rwho-0.17-gcc4.patch
 Patch9: netkit-rwho-0.17-waitchild.patch
 Patch10: netkit-rwho-0.17-neighbours.patch
-Requires: /sbin/chkconfig /etc/init.d
 Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
@@ -81,7 +80,7 @@ mkdir -p ${RPM_BUILD_ROOT}/var/spool/rwho
 make INSTALLROOT=${RPM_BUILD_ROOT} install
 make INSTALLROOT=${RPM_BUILD_ROOT} install -C ruptime
 
-install -m 755 %SOURCE1 ${RPM_BUILD_ROOT}%{_unitdir}/rwhod.service
+install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_unitdir}/rwhod.service
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
@@ -125,6 +124,10 @@ fi
 %{_unitdir}/*
 
 %changelog
+* Wed Dec 07 2011 Honza Horak <hhorak at redhat.com> - 0.17-37
+- systemd unit file mod fix
+  removed non-essential Requires: /sbin/chkconfig /etc/init.d
+
 * Wed Aug 01 2011 Honza Horak <hhorak at redhat.com> - 0.17-36
 - added systemd native unit file
 


More information about the scm-commits mailing list