rpms/bugzilla/FC-6 bugzilla.spec,1.3,1.4

John Berninger (jwb) fedora-extras-commits at redhat.com
Tue Jan 23 00:19:29 UTC 2007


Author: jwb

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

Modified Files:
	bugzilla.spec 
Log Message:
Fix for bz 223747



Index: bugzilla.spec
===================================================================
RCS file: /cvs/extras/rpms/bugzilla/FC-6/bugzilla.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bugzilla.spec	9 Nov 2006 00:25:54 -0000	1.3
+++ bugzilla.spec	23 Jan 2007 00:18:59 -0000	1.4
@@ -6,7 +6,7 @@
 Name: bugzilla
 Version: 2.22
 Group: Applications/Publishing
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: MPL
 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -79,6 +79,12 @@
 %install
 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_ROO
+T}/%{_sysconfdir}/cron.daily
+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}
 mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{name}-%{version}
 cp %{SOURCE2} ./README.fedora
@@ -112,6 +118,9 @@
 %{bzinstallprefix}/bugzilla/template
 %ghost %{bzinstallprefix}/bugzilla/bugzilla-req
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf
+%defattr(0755,root,root,-)
+%{_sysconfdir}/cron.daily/*.pl
+%{_sysconfdir}/cron.d/*
 %doc README
 %doc QUICKSTART
 %doc UPGRADING
@@ -127,6 +136,9 @@
 %{bzinstallprefix}/bugzilla/contrib
 
 %changelog
+* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22-8
+- Put daily and hourly cronjobs in place per bz 223747
+
 * Wed Nov  8 2006 John Berninger <johnw at berningeronline dot net> - 2.22-7
 - Fixes for bz # 212355
 




More information about the fedora-extras-commits mailing list