rpms/oddjob/F-12 oddjob-0.29.1-usage.patch, NONE, 1.1 oddjob.spec, 1.20, 1.21

Nalin Dahyabhai nalin at fedoraproject.org
Mon Jan 25 23:55:23 UTC 2010


Author: nalin

Update of /cvs/extras/rpms/oddjob/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18727

Modified Files:
	oddjob.spec 
Added Files:
	oddjob-0.29.1-usage.patch 
Log Message:
- show that we implement force-reload and try-restart in the init script's
  help message (#522131)


oddjob-0.29.1-usage.patch:
 oddjobd.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE oddjob-0.29.1-usage.patch ---
Advertise a couple of the commands which are already implemented.  The specific
order matches one of the translated strings provided by the initscripts package.
diff -up oddjob-0.29.1-1/scripts/oddjobd.in oddjob-0.29.1-1/scripts/oddjobd.in
--- oddjob-0.29.1-1/scripts/oddjobd.in	2010-01-25 18:34:39.000000000 -0500
+++ oddjob-0.29.1-1/scripts/oddjobd.in	2010-01-25 18:34:43.000000000 -0500
@@ -99,7 +99,7 @@ case "$1" in
 	RETVAL=$?
 	;;
   *)
-	echo $"Usage: $0 {start|stop|restart|condrestart|reload|status}"
+	echo $"Usage: $0 {start|stop|restart|condrestart|try-restart|reload|force-reload|status}"
 	exit 1
 esac
 


Index: oddjob.spec
===================================================================
RCS file: /cvs/extras/rpms/oddjob/F-12/oddjob.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- oddjob.spec	25 Jul 2009 20:34:43 -0000	1.20
+++ oddjob.spec	25 Jan 2010 23:55:23 -0000	1.21
@@ -3,7 +3,7 @@
 
 Name: oddjob
 Version: 0.29.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 Source: http://people.redhat.com/nalin/oddjob/oddjob-%{version}-1.tar.gz
 Summary: A D-BUS service which runs odd jobs on behalf of client applications
 License: BSD
@@ -17,6 +17,7 @@ Requires(post): /sbin/service
 Requires(postun): /sbin/service
 Requires(post): /sbin/chkconfig
 Requires(pre): /sbin/chkconfig
+Patch0: oddjob-0.29.1-usage.patch
 URL: http://people.redhat.com/nalin/oddjob/
 
 %description
@@ -74,6 +75,7 @@ This package contains a trivial sample o
 
 %prep
 %setup -q -n %{name}-%{version}-1
+%patch0 -p1 -b .usage
 
 %build
 sample_flag=
@@ -190,6 +192,10 @@ fi
 exit 0
 
 %changelog
+* Mon Jan 25 2010 Nalin Dahyabhai <nalin at redhat.com> - 0.29.1-5
+- show that we implement force-reload and try-restart in the init script's
+  help message (#522131)
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.29.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list