[rusers] -fixed rpmlint errors

Jan Horak hhorak at fedoraproject.org
Thu Feb 24 15:27:20 UTC 2011


commit 1d109eef0583dd77215074383019b4197e4b9949
Author: Honza Horak <hhorak at redhat.com>
Date:   Thu Feb 24 16:26:53 2011 +0100

    -fixed rpmlint errors

 rstatd.init  |    8 ++++----
 rusers.spec  |   17 ++++++++++++-----
 rusersd.init |    8 ++++----
 3 files changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/rstatd.init b/rstatd.init
index 08e2db1..3f9096d 100755
--- a/rstatd.init
+++ b/rstatd.init
@@ -22,11 +22,11 @@
 # Get config.
 . /etc/sysconfig/network
 
-# pidfile: /var/run/rpc.rstatd.pid
-# lockfile: /var/lock/subsys/rpc.rstatd
+# pidfile: /var/run/rstatd.pid
+# lockfile: /var/lock/subsys/rstatd
 RETVAL=0
-LOCK="/var/lock/subsys/rpc.rstatd"
-PIDFILE="/var/run/rpc.rstatd.pid"
+LOCK="/var/lock/subsys/rstatd"
+PIDFILE="/var/run/rstatd.pid"
 
 start() {
     if [ $UID -ne 0 ] ; then
diff --git a/rusers.spec b/rusers.spec
index bf117a2..bef6adb 100644
--- a/rusers.spec
+++ b/rusers.spec
@@ -5,8 +5,9 @@
 Summary: Displays the users logged into machines on the local network
 Name: rusers
 Version: 0.17
-Release: 61%{?dist}
+Release: 62%{?dist}
 License: BSD
+Url: http://rstatd.sourceforge.net/
 Group: System Environment/Daemons
 Source: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rusers-%{version}.tar.gz
 Source1: rusersd.init
@@ -30,6 +31,7 @@ Patch14: netkit-rusers-0.17-procdiskstats.patch
 Patch15: netkit-rusers-0.17-rusersd-droppriv.patch
 # Oracle explicitly gave permission for this relicensing on August 18, 2010.
 Patch16: netkit-rusers-0.17-new-rpc-license.patch
+Requires: /sbin/chkconfig /etc/init.d
 Buildroot: %{_tmppath}/%{name}-root
 BuildRequires: procps libselinux-devel
 
@@ -43,7 +45,7 @@ Install rusers if you need to keep track of who is logged into your
 local network.
 
 %package server
-Summary: Server for the rusers protocol.
+Summary: Server for the rusers protocol
 Group: System Environment/Daemons
 Requires(pre): /sbin/chkconfig
 Requires: portmap
@@ -146,14 +148,19 @@ fi
 %{_mandir}/man8/*
 %{_sbindir}/rpc.rstatd
 %{_sbindir}/rpc.rusersd
-%config /etc/rc.d/init.d/rusersd
-%config /etc/rc.d/init.d/rstatd
+%{_initrddir}/rusersd
+%{_initrddir}/rstatd
 
 %changelog
+
+* Thu Feb 24 2011 Honza Horak <hhorak at redhat.com> - 0.17-62
+- fixed rpmlint errors
+- Resolves: #634922
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.17-61
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
-* Thu Aug 26 2010 Tom "spot" Callaway <tcallawa at redhat.com> - -0.17-60
+* Thu Aug 26 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 0.17-60
 - replace SunRPC license with BSD (thanks to Oracle)
 
 * Wed Feb 26 2010 Jiri Moskovcak <jmoskovc at redhat.com> - 0.17-59
diff --git a/rusersd.init b/rusersd.init
index e1ca4bc..9a2cee4 100755
--- a/rusersd.init
+++ b/rusersd.init
@@ -22,11 +22,11 @@
 # Get config.
 . /etc/sysconfig/network
 
-# pidfile: /var/run/rpc.rusersd.pid
-# lockfile: /var/lock/subsys/rpc.rusersd
+# pidfile: /var/run/rusersd.pid
+# lockfile: /var/lock/subsys/rusersd
 RETVAL=0
-LOCK="/var/lock/subsys/rpc.rusersd"
-PIDFILE="/var/run/rpc.rusersd.pid"
+LOCK="/var/lock/subsys/rusersd"
+PIDFILE="/var/run/rusersd.pid"
 
 start() {
     if [ $UID -ne 0 ] ; then


More information about the scm-commits mailing list