rpms/ttywatch/devel ttywatch.init-lsb.patch, NONE, 1.1 ttywatch.spec, 1.5, 1.6

Matt Domsch (mdomsch) fedora-extras-commits at redhat.com
Thu Sep 20 03:43:20 UTC 2007


Author: mdomsch

Update of /cvs/extras/rpms/ttywatch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22952

Modified Files:
	ttywatch.spec 
Added Files:
	ttywatch.init-lsb.patch 
Log Message:
add LSB initscript header (BZ#247080)

ttywatch.init-lsb.patch:

--- NEW FILE ttywatch.init-lsb.patch ---
--- ttywatch-0.14/ttywatch.init.orig	2007-09-19 22:26:19.000000000 -0500
+++ ttywatch-0.14/ttywatch.init	2007-09-19 22:29:52.000000000 -0500
@@ -9,6 +9,17 @@
 # pidfile: /var/run/ttywatch.pid
 # config: /etc/ttywatch.conf
 # config: /etc/ttywatch.d/*
+### BEGIN INIT INFO
+# Provides: ttywatch
+# Default-Start: 
+# Default-Stop: 
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Short-Description: The ttywatch device output logging facility
+# Description: The ttywatch device output logging facility
+### END INIT INFO
+
+
 
 
 # Source function library.
@@ -75,9 +86,15 @@ case "$1" in
     reload)
 	reload
 	;;
+    force-reload)
+	reload
+	;;
     condrestart)
 	condrestart
 	;;
+    try-restart)
+	condrestart
+	;;
     *)
 	echo "Usage: ttywatch {start|stop|status|restart|condrestart|reload}"
 	RETVAL=1


Index: ttywatch.spec
===================================================================
RCS file: /cvs/extras/rpms/ttywatch/devel/ttywatch.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ttywatch.spec	13 Aug 2007 13:24:17 -0000	1.5
+++ ttywatch.spec	20 Sep 2007 03:42:48 -0000	1.6
@@ -1,11 +1,12 @@
 Name: ttywatch
 Version: 0.14
-Release: 8%{?dist}
+Release: 9%{?dist}
 Summary: Log output of arbitrarily many devices
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://www.danlj.org/mkj/ttywatch/
 Source: http://www.danlj.org/mkj/ttywatch/%{name}-%{version}.tar.bz2
+Patch0: ttywatch.init-lsb.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: glib2-devel popt lockdev-devel
 Requires(post): /sbin/chkconfig
@@ -33,6 +34,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
@@ -81,6 +83,9 @@
 
 
 %changelog
+* Wed Sep 19 2007 Matt Domsch <Matt_Domsch at dell.com> 0.14-9
+- add LSB initscript header (BZ#247080)
+
 * Mon Aug 13 2007 Matt Domsch <Matt_Domsch at dell.com> 0.14-8
 - License tag GPLv2+
 




More information about the scm-commits mailing list