rpms/bugzilla/FC-6 bugzilla.spec,1.5,1.6

John Berninger (jwb) fedora-extras-commits at redhat.com
Sat Jan 27 16:29:03 UTC 2007


Author: jwb

Update of /cvs/extras/rpms/bugzilla/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30167

Modified Files:
	bugzilla.spec 
Log Message:
fix daily collectstats cronjob, bz 224550


Index: bugzilla.spec
===================================================================
RCS file: /cvs/extras/rpms/bugzilla/FC-6/bugzilla.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- bugzilla.spec	23 Jan 2007 00:39:53 -0000	1.5
+++ bugzilla.spec	27 Jan 2007 16:28:33 -0000	1.6
@@ -6,7 +6,7 @@
 Name: bugzilla
 Version: 2.22
 Group: Applications/Publishing
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: MPL
 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -80,7 +80,12 @@
 mkdir -p ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
 cp -pr * ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla
 mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily
-mv ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/collectstats.pl ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily
+cat << EOM > ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily/bugzilla
+#!/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 env LANG=C %{bzinstallprefix}/bugzilla/whine.pl" > ${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.d/bugzilla
 rm -f ${RPM_BUILD_ROOT}/%{bzinstallprefix}/bugzilla/{README,QUICKSTART,UPGRADING,UPGRADING-pre-2.8}
@@ -117,7 +122,7 @@
 %ghost %{bzinstallprefix}/bugzilla/bugzilla-req
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf
 %defattr(0755,root,root,-)
-%{_sysconfdir}/cron.daily/*.pl
+%{_sysconfdir}/cron.daily/*
 %{_sysconfdir}/cron.d/*
 %doc README
 %doc QUICKSTART
@@ -134,6 +139,9 @@
 %{bzinstallprefix}/bugzilla/contrib
 
 %changelog
+* Sat Jan 27 2007 John Berninger <jwb at redhat dot com> - 2.22-10
+- Fix collectstats cron job, bx 224550
+
 * Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22-9
 - Fix linebreak issues in specfile
 




More information about the scm-commits mailing list