diff --git a/cronie-1.4.6-manpages.patch b/cronie-1.4.6-manpages.patch new file mode 100644 index 0000000..b623468 --- /dev/null +++ b/cronie-1.4.6-manpages.patch @@ -0,0 +1,34 @@ +diff -up cronie-1.4.6/man/cron.8.wrong cronie-1.4.6/man/cron.8 +--- cronie-1.4.6/man/cron.8.wrong 2010-10-21 17:31:28.000000000 +0200 ++++ cronie-1.4.6/man/cron.8 2010-10-26 10:16:38.000000000 +0200 +@@ -27,7 +27,7 @@ + crond \- daemon to execute scheduled commands + .SH SYNOPSIS + .B crond +-.RB [ -n " | " -p " | " -s " | " -m \fP\fI\fP ] ++.RB [ -n " | " -p " | " -s " | " -c " | " -m \fP\fI\fP ] + + .B crond + .B -x +@@ -147,6 +147,9 @@ Allows + .I Cron + to accept any user set crontables. + .TP ++.B "\-c" ++This option enables clustering support, as described below. ++.TP + .B "\-s" + This option will direct + .I Cron +diff -up cronie-1.4.6/man/crontab.1.wrong cronie-1.4.6/man/crontab.1 +--- cronie-1.4.6/man/crontab.1.wrong 2010-10-22 09:49:29.000000000 +0200 ++++ cronie-1.4.6/man/crontab.1 2010-10-26 11:53:57.000000000 +0200 +@@ -139,7 +139,7 @@ This option is relevant only if + was started with the \fB-c\fP option, to enable clustering support. It is + used to set the host in the cluster which should run the jobs specified in the + crontab files in the +-.I /var/spool/cron\ ++.I /var/spool/cron + directory. + If a hostname is supplied, the host whose hostname returned by + .BR gethostname(2) diff --git a/cronie.spec b/cronie.spec index 37740c7..5aaefa1 100644 --- a/cronie.spec +++ b/cronie.spec @@ -6,11 +6,12 @@ Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.6 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT and BSD and ISC and GPLv2 Group: System Environment/Base URL: https://fedorahosted.org/cronie Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz +Patch0: cronie-1.4.6-manpages.patch Requires: syslog, bash >= 2.0 Conflicts: sysklogd < 1.4.1 @@ -70,6 +71,7 @@ Old style of {hourly,daily,weekly,monthly}.jobs without anacron. No features. %prep %setup -q +%patch0 -p1 %build @@ -191,6 +193,9 @@ cp -a /var/lock/subsys/crond /var/lock/subsys/cronie > /dev/null 2>&1 ||: %attr(0644,root,root) %{_sysconfdir}/cron.d/dailyjobs %changelog +* Tue Nov 30 2010 Marcela Mašláňová - 1.4.6-2 +- fix typos in man pages + * Fri Oct 22 2010 Marcela Mašláňová - 1.4.6-1 - update to 1.4.6