rpms/anacron/devel anacron-2.3-spooldir.patch, NONE, 1.1 anacron.spec, 1.46, 1.47
Marcela Mašláňová (mmaslano)
fedora-extras-commits at redhat.com
Wed Apr 9 10:53:56 UTC 2008
Author: mmaslano
Update of /cvs/pkgs/rpms/anacron/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17516
Modified Files:
anacron.spec
Added Files:
anacron-2.3-spooldir.patch
Log Message:
Correct spooldir in log file.
anacron-2.3-spooldir.patch:
--- NEW FILE anacron-2.3-spooldir.patch ---
diff -up anacron-2.3/readtab.c.spool anacron-2.3/readtab.c
--- anacron-2.3/readtab.c.spool 2008-04-09 11:04:21.000000000 +0200
+++ anacron-2.3/readtab.c 2008-04-09 11:23:09.000000000 +0200
@@ -305,7 +305,7 @@ read_tab(int cwd)
/* Open the anacrontab file */
fchdir (cwd);
tab = fopen(anacrontab, "r");
- if (chdir(spooldir)) die_e("Can't chdir to %s", SPOOLDIR);
+ if (chdir(spooldir)) die_e("Can't chdir to %s", spooldir);
if (tab == NULL) die_e("Error opening %s", anacrontab);
/* Initialize the obstacks */
Index: anacron.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anacron/devel/anacron.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- anacron.spec 28 Feb 2008 13:19:02 -0000 1.46
+++ anacron.spec 9 Apr 2008 10:53:21 -0000 1.47
@@ -1,7 +1,7 @@
Summary: A cron-like program that can run jobs lost during downtime
Name: anacron
Version: 2.3
-Release: 59%{?dist}
+Release: 60%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://packages.debian.org/stable/source/anacron
@@ -15,6 +15,7 @@
Patch4: anacron-2.3-memleaking.patch
Patch5: anacron-2.3-onbattery.patch
Patch6: anacron-2.3-sterr_null.patch
+Patch7: anacron-2.3-spooldir.patch
Requires: crontabs
Requires: initscripts
@@ -48,6 +49,7 @@
%patch4 -p1 -b .memleaking
%patch5 -p1 -b .onbattery
%patch6 -p1 -b .sterr
+%patch7 -p1 -b .spool
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
@@ -107,6 +109,9 @@
%attr(755,root,root) %dir /etc/cron.weekly/0anacron
%changelog
+* Wed Apr 9 2008 Marcela Maslanova <mmaslano at redhat.com> 2.3-60
+- correct spooldir logged
+
* Thu Feb 28 2008 Marcela Maslanova <mmaslano at redhat.com> 2.3-59
- 0anacron.{daily,weekly,monthly} sterror's output also goes to
dev/null
More information about the fedora-extras-commits
mailing list