SPECS: eventum.spec - perform database changes

glen glen at pld-linux.org
Wed Nov 30 17:34:47 CET 2005


Author: glen                         Date: Wed Nov 30 16:34:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- perform database changes

---- Files affected:
SPECS:
   eventum.spec (1.126 -> 1.127) 

---- Diffs:

================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.126 SPECS/eventum.spec:1.127
--- SPECS/eventum.spec:1.126	Wed Nov 30 17:01:58 2005
+++ SPECS/eventum.spec	Wed Nov 30 17:34:42 2005
@@ -19,7 +19,7 @@
 # release candidate
 #define _rc		RC1
 
-%define	_rel	4.21
+%define	_rel	4.24
 
 %if 0%{?_rc:1}
 %define	_source http://pessoal.org/%{name}-%{version}-%{_rc}.tar.gz
@@ -67,7 +67,7 @@
 Patch11:	eventum-cli-wr-separated.patch
 Patch12:	eventum-php440.patch
 Patch13:	eventum-htmloptions-truncate.patch
-Patch14:	http://glen.alkohol.ee/pld/eventum-httpclient.patch
+Patch15:	eventum-db-1.7.0.patch
 URL:		http://dev.mysql.com/downloads/other/eventum/
 BuildRequires:	rpmbuild(macros) >= 1.223
 BuildRequires:	sed >= 4.0
@@ -461,6 +461,7 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
+%patch15 -p1
 
 # replace in remaining scripts config.inc.php to system one
 grep -rl 'include_once(".*config.inc.php")' . | xargs sed -i -e '
@@ -792,6 +793,12 @@
 	mv -f /etc/eventum/irc.php.rpmsave %{_sysconfdir}/irc.php
 fi
 
+%triggerpostun -- eventum < 1.7.0-0.20051130.4.24
+%{_appdir}/upgrade/upgrade.sh %{_appdir}/upgrade/v1.6.1_to_v1.7.0 <<EOF
+database_changes.php Perform database changes
+set_root_message_ids.php Set iss_root_message_id
+EOF
+
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog FAQ INSTALL README UPGRADE
@@ -921,6 +928,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.127  2005/11/30 16:34:42  glen
+- perform database changes
+
 Revision 1.126  2005/11/30 16:01:58  glen
 - updated to 1.7.0, 20051130 snap (mysql 5.0 compatible)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/eventum.spec?r1=1.126&r2=1.127&f=u




More information about the pld-cvs-commit mailing list