public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: John Berninger <jwb@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bugzilla] epel10: fix daily collectstats cronjob, bz 224550
Date: Wed, 21 Oct 2026 06:00:20 GMT [thread overview]
Message-ID: <179256242008.1.5723157003698356161.rpms-bugzilla-93814d394bf1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bugzilla
Branch : epel10
Commit : 93814d394bf1ced5938eb99fa798dfb33ec46e28
Author : John Berninger <jwb@fedoraproject.org>
Date : 2007-01-27T16:29:13+00:00
Stats : +11/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bugzilla/c/93814d394bf1ced5938eb99fa798dfb33ec46e28?branch=epel10
Log:
fix daily collectstats cronjob, bz 224550
---
diff --git a/bugzilla.spec b/bugzilla.spec
index 02ed5cd..54a6ce3 100644
--- a/bugzilla.spec
+++ b/bugzilla.spec
@@ -6,7 +6,7 @@ URL: http://www.bugzilla.org/
Name: bugzilla
Version: 2.22.1
Group: Applications/Publishing
-Release: 3%{?dist}
+Release: 4%{?dist}
License: MPL
Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-%{version}.tar.gz
Source1: bugzilla-httpd-conf
@@ -78,7 +78,12 @@ done
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}
@@ -132,7 +137,10 @@ popd > /dev/null
%{bzinstallprefix}/bugzilla/contrib
%changelog
-* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22-1-3
+* Sat Jan 27 2007 John Berninger <jwb at redhat dot com> - 2.22.1-4
+- Fix collectstats cron job, bz 224550
+
+* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22.1-3
- Fix linebreak issues in specfile
* Mon Jan 22 2007 John Berninger <jwb at redhat dot com> - 2.22.1-2
reply other threads:[~2026-10-21 6:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179256242008.1.5723157003698356161.rpms-bugzilla-93814d394bf1@fedoraproject.org \
--to=jwb@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox