rpms/bugzilla/F-7 README.fedora.bugzilla, 1.1, 1.2 bugzilla.spec, 1.16, 1.17

John Berninger (jwb) fedora-extras-commits at redhat.com
Fri Dec 28 17:44:37 UTC 2007


Author: jwb

Update of /cvs/pkgs/rpms/bugzilla/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29066/F-7

Modified Files:
	README.fedora.bugzilla bugzilla.spec 
Log Message:
cronjob fix - bz 426465


Index: README.fedora.bugzilla
===================================================================
RCS file: /cvs/pkgs/rpms/bugzilla/F-7/README.fedora.bugzilla,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.fedora.bugzilla	26 Jun 2006 17:53:13 -0000	1.1
+++ README.fedora.bugzilla	28 Dec 2007 17:44:02 -0000	1.2
@@ -14,3 +14,12 @@
 
 Lastly, simply re-run checksetup.pl to populate the database tables, set up
 the templates, and add the administrator ID.  You should be done at this point.
+
+There are two useful cron jobs which are included with Bugzilla which should be
+put in place after configuration is done.  The first is a daily cron job for 
+statistics collection.  This is in the file "cron.daily" and can be enabled by
+simply copying this file to /etc/cron.daily/bugzilla (or any other file name
+in the /etc/cron.daily/ directory).  The second is the "whine" cron job,
+designed to run every 15 minutes.  To enable this job, simply coopy the
+cron.whine file to /etc/cron.d/bugzilla (or any othe filename within the
+/etc/cron.d/ directory).


Index: bugzilla.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bugzilla/F-7/bugzilla.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- bugzilla.spec	26 Oct 2007 15:44:32 -0000	1.16
+++ bugzilla.spec	28 Dec 2007 17:44:02 -0000	1.17
@@ -6,7 +6,7 @@
 Name: bugzilla
 Version: 3.0.2
 Group: Applications/Publishing
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: MPL
 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -75,15 +75,13 @@
 %install
 mkdir -p ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
 cp -pr * ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
-mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily
-cat << EOM > ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily/bugzilla
+cat << EOM > ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/cron.daily
 #!/bin/bash
 # Daily Bugzilla collectstats cron job run
 cd %{bzinstallprefix}/bugzilla
 ./collectstats.pl
 EOM
-mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.d
-echo "0-59/15 * * * * apache cd %{bzinstallprefix}/bugzilla && env LANG=C %{bzinstallprefix}/bugzilla/whine.pl" > ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.d/bugzilla
+echo "0-59/15 * * * * apache cd %{bzinstallprefix}/bugzilla && env LANG=C %{bzinstallprefix}/bugzilla/whine.pl" > ${RPM_BUILD_ROOT}/%{bzintallprefix}/bugzilla/cron.whine
 rm -f ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/{README,QUICKSTART,UPGRADING,UPGRADING-pre-2.8}
 mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
 cp %{SOURCE2} ./README.fedora
@@ -117,10 +115,6 @@
 %{bzinstallprefix}/bugzilla/template
 %ghost %{bzinstallprefix}/bugzilla/bugzilla-req
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf
-%defattr(0755,root,root,-)
-%{_sysconfdir}/cron.daily/*
-%defattr(0600,root,root,-)
-%{_sysconfdir}/cron.d/*
 %defattr(-,root,root,-)
 %doc README
 %doc QUICKSTART
@@ -137,6 +131,10 @@
 %{bzinstallprefix}/bugzilla/contrib
 
 %changelog
+* Fri Dec 28 2007 John Berninger <john at ncphotography dot com> - 3.0.2-3
+- bz 426465 - don't enable cron jobs so cron doesn't complain about
+  an unconfigured installation
+
 * Fri Oct 26 2007 John Berninger <john at ncphotography dot com> - 3.0.2-2
 - fix issue with AlowOverride Options
 




More information about the fedora-extras-commits mailing list