Author: glen Date: Thu Mar 3 18:00:51 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- eventum 1.5
---- Files affected:
SPECS:
eventum.spec (1.64 -> 1.65)
---- Diffs:
================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.64 SPECS/eventum.spec:1.65
--- SPECS/eventum.spec:1.64 Sun Feb 27 17:29:36 2005
+++ SPECS/eventum.spec Thu Mar 3 19:00:46 2005
@@ -16,7 +16,7 @@
%define gid 146
# snapshot: DATE
-%define _snap 20050227
+#define _snap 20050227
%if 0%{?_snap}
%define _source
http://downloads.mysql.com/snapshots/%{name}/%{name}-nightly-%{_snap}.tar.gz
@@ -24,17 +24,17 @@
%define _source
http://mysql.wildyou.net/Downloads/%{name}/%{name}-%{version}.tar.gz
%endif
-%define _rel 233
+%define _rel 237
Summary: Eventum Issue / Bug tracking system
Summary(pl): Eventum - system śledzenia spraw/błędów
Name: eventum
-Version: 1.4
-Release: 2.%{?_snap:%{_snap}.}%{_rel}
+Version: 1.5
+Release: 0.%{?_snap:%{_snap}.}%{_rel}
License: GPL
Group: Applications/WWW
Source0: %{_source}
-# Source0-md5: 8bfe164a55d06d95b722dae534ee14c3
+# Source0-md5: 6a467e1a672983f26d72d4eb7568efb6
Source1: %{name}-apache.conf
Source2: %{name}-mail-queue.cron
Source3: %{name}-mail-download.cron
@@ -63,6 +63,7 @@
Patch20: %{name}-monitor-bot-process.patch
Patch21: %{name}-maillock.patch
Patch22: %{name}-tpl-multibyte.patch
+Patch23: %{name}-db-20050227.patch
URL: http://dev.mysql.com/downloads/other/eventum/index.html
BuildRequires: rpmbuild(macros) >= 1.177
BuildRequires: sed >= 4.0
@@ -105,6 +106,9 @@
%define _apache1dir /etc/apache
%define _apache2dir /etc/httpd
+# don't compress upgrade scripts
+%define _noautocompressdoc *.php
+
%description
Eventum is a user-friendly and flexible issue tracking system that can
be used by a support department to track incoming technical support
@@ -429,7 +433,7 @@
# packaging
%patch0 -p1 -b .paths
-%patch1 -p1
+#%patch1 -p1
%patch2 -p1
%patch3 -p1
%{?with_pear:%patch4 -p1 -b .PEAR}
@@ -444,9 +448,10 @@
#%patch17 -p1
#%patch18 -p1
#%patch19 -p1
-%patch20 -p1
+#%patch20 -p1
#%patch21 -p1
-%patch22 -p1
+#%patch22 -p1
+%patch23 -p1
# replace in remaining scripts config.inc.php to system one
grep -rl 'include_once(".*config.inc.php")' . | xargs sed -i -e '
@@ -716,6 +721,25 @@
/usr/sbin/usermod -d /var/lib/%{name} %{name}
fi
+%triggerpostun -- eventum < 1.5-0.237
+echo >&2 ""
+echo >&2 "* Performing database upgrades!"
+echo >&2 "These will fail if your eventum user doesn't have ALTER privilege to
database."
+echo >&2 ""
+# i hope it's not too evil to do these in trigger
+scriptdir=%{_docdir}/%{name}-%{version}/upgrade/v1.4_to_1.5
+# don't fail if --excludedocs used
+if [ -d $scriptdir ]; then
+ /usr/bin/php4 -q $scriptdir/database_changes.php || {
+ echo >&2 "Please run manually: /usr/bin/php4 -q
$scriptdir/database_changes.php"
+ }
+ # user roles already applied in snapshot. skip it
+# /usr/bin/php4 -q $scriptdir/set_user_roles.php || {
+# echo >&2 "Please run manually: /usr/bin/php4 -q
$scriptdir/set_user_roles.php"
+# }
+ # no config file changes. skip it
+fi
+
%files
%defattr(644,root,root,755)
%doc ChangeLog FAQ INSTALL README UPGRADE
@@ -837,6 +861,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.65 2005/03/03 18:00:46 glen
+- eventum 1.5
+
Revision 1.64 2005/02/27 16:29:36 glen
- updated to 20050227 snap; added multibyte patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/eventum.spec?r1=1.64&r2=1.65&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit