diff --git a/oddjob-0.29.1-usage.patch b/oddjob-0.29.1-usage.patch new file mode 100644 index 0000000..e33d38f --- /dev/null +++ b/oddjob-0.29.1-usage.patch @@ -0,0 +1,14 @@ +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 + diff --git a/oddjob.spec b/oddjob.spec index 21f9899..3e222c2 100644 --- a/oddjob.spec +++ b/oddjob.spec @@ -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 oddjob service. %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 - 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 - 0.29.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild