rpms/bugzilla/FC-5 bugzilla.spec,1.7,1.8

John Berninger (jwb) fedora-extras-commits at redhat.com
Thu Feb 15 03:22:44 UTC 2007


Author: jwb

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

Modified Files:
	bugzilla.spec 
Log Message:
more cronjob fixes - bz 227136


Index: bugzilla.spec
===================================================================
RCS file: /cvs/extras/rpms/bugzilla/FC-5/bugzilla.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- bugzilla.spec	31 Jan 2007 22:03:00 -0000	1.7
+++ bugzilla.spec	15 Feb 2007 03:22:11 -0000	1.8
@@ -6,7 +6,7 @@
 Name: bugzilla
 Version: 2.22
 Group: Applications/Publishing
-Release: 10%{?dist}
+Release: 11%{?dist}
 License: MPL
 Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
 Source1: bugzilla-httpd-conf
@@ -87,7 +87,7 @@
 ./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
+echo "0-59/15 * * * * apache cd /%{bzinstallprefix}/bugzilla && 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
@@ -121,8 +121,9 @@
 %{bzinstallprefix}/bugzilla/template
 %ghost %{bzinstallprefix}/bugzilla/bugzilla-req
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/bugzilla.conf
-%defattr(0600,root,root,-)
+%defattr(0755,root,root,-)
 %{_sysconfdir}/cron.daily/*
+%defattr(0600,root,root,-)
 %{_sysconfdir}/cron.d/*
 %defattr(-,root,root,-)
 %doc README
@@ -140,6 +141,9 @@
 %{bzinstallprefix}/bugzilla/contrib
 
 %changelog
+* Wed Feb 14 2007 John Berninger <jwb at redhat dot com> - 2.22-11
+- More cronjob fixes
+
 * Wed Jan 31 2007 John Berninger <jwb at redhat dot com> - 2.22-10
 - Fix cron script permissions
 




More information about the fedora-extras-commits mailing list