rpms/bugzilla/devel bugzilla.spec,1.3,1.4

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


Author: jwb

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

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



Index: bugzilla.spec
===================================================================
RCS file: /cvs/extras/rpms/bugzilla/devel/bugzilla.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bugzilla.spec	9 Nov 2006 02:13:55 -0000	1.3
+++ bugzilla.spec	23 Jan 2007 00:19:05 -0000	1.4
@@ -6,7 +6,7 @@
 Name: bugzilla
 Version: 2.22.1
 Group: Applications/Publishing
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MPL
 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -77,6 +77,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
@@ -110,6 +116,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
@@ -125,6 +134,9 @@
 %{bzinstallprefix}/bugzilla/contrib
 
 %changelog
+* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22.1-2
+- Put daily and hourly cronjobs in place per bz 223747
+
 * Tue Jun 26 2006 John Berninger <johnw at berningeronline dot net> - 2.22.1-1
 - Clean up BugzillaEmail requires (filter it out)
 




More information about the scm-commits mailing list