SPECS: bugzilla.spec - add crontab - longer banner
glen
glen at pld-linux.org
Mon Apr 24 22:13:19 CEST 2006
Author: glen Date: Mon Apr 24 20:13:19 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add crontab
- longer banner
---- Files affected:
SPECS:
bugzilla.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: SPECS/bugzilla.spec
diff -u SPECS/bugzilla.spec:1.24 SPECS/bugzilla.spec:1.25
--- SPECS/bugzilla.spec:1.24 Mon Apr 24 21:18:11 2006
+++ SPECS/bugzilla.spec Mon Apr 24 22:13:14 2006
@@ -7,13 +7,14 @@
Summary(pl): System śledzenia błędów
Name: bugzilla
Version: 2.22
-Release: 0.27
+Release: 0.31
License: GPL
Group: Applications/WWW
Source0: http://ftp.mozilla.org/pub/mozilla.org/webtools/%{name}-%{version}.tar.gz
# Source0-md5: bbf2f1ec5607978d39855df104231973
Source1: %{name}.conf
Source2: %{name}-localconfig.pl
+Source3: %{name}.cron
Patch0: %{name}-pld.patch
URL: http://www.bugzilla.org/
BuildRequires: rpmbuild(macros) >= 1.268
@@ -71,14 +72,27 @@
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/localconfig.pl
+install -D %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily/bugzilla
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ "$1" = 1 ]; then
-%banner -e %{name} <<EOF
-If this is your first install create database and run checksetup.pl
+# shamelessly stolen from gentoo
+%banner -e %{name} <<'EOF'
+0. Bugzilla has been installed into %{_appdir}
+
+1. To finish the installation, please read
+ http://www.bugzilla.org/docs/%{version}/html/installation.html
+ You will need to run %{_appdir}/checksetup.pl
+
+ IMPORTANT: If you have customized the values in your
+ Status/Resolution field, you must edit checksetup.pl BEFORE YOU RUN
+ IT. Please see the Release Notes for more details.
+
+2. Please read the Release Notes, especially if you are upgrading:
+ http://www.bugzilla.org/releases/%{version}/release-notes.html
EOF
fi
@@ -103,6 +117,8 @@
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.pl
+%attr(755,root,root) /etc/cron.daily/bugzilla
+
%{perl_vendorlib}/Bugzilla
%{perl_vendorlib}/Bugzilla.pm
@@ -131,6 +147,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2006/04/24 20:13:14 glen
+- add crontab
+- longer banner
+
Revision 1.24 2006/04/24 19:18:11 glen
- BR sed >= 4.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bugzilla.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list