Changes of Revision 2
[-] | Changed | cdemu-daemon.spec |
1
2 Source0: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2 3 Source1: cdemu-daemon.init.suse 4 Source2: cdemu-daemon.sysconfig 5 +Source3: cdemu-daemon-rpmlintrc 6 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 BuildRequires: dbus-1-devel >= 0.90 8 BuildRequires: dbus-1-glib-devel >= 0.70 9 |
||
[+] | Added | cdemu-daemon-rpmlintrc ^ |
@@ -0,0 +1,3 @@ +from Config import * + +addFilter("suse-dbus-unauthorized-service") | ||
[+] | Changed | cdemu-daemon.init.suse ^ |
@@ -87,7 +87,7 @@ startproc -f -p $CDEMUD_PIDFILE $CDEMUD_BIN $DAEMON_ARGS RETVAL=$? if [ $RETVAL -eq 0 ]; then - touch /var/lock/subsys/$servicename + touch /var/lock/subsys/cdemu-daemon else return $RETVAL fi @@ -119,7 +119,7 @@ fi if [ $RETVAL -eq 0 ]; then - rm -f /var/lock/subsys/$servicename + rm -f /var/lock/subsys/cdemu-daemon fi return $RETVAL @@ -147,7 +147,7 @@ rc_status ;; condrestart) - if [ -f /var/lock/subsys/$servicename ]; then + if [ -f /var/lock/subsys/cdemu-daemon ]; then echo "Stopping CDEmu daemon: " stop RETVAL=$? |