Author: glen                         Date: Tue May 13 09:21:37 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
 - update to r3569, add databasse update trigger

---- Files affected:
SPECS:
   eventum.spec (1.272 -> 1.273) 

---- Diffs:

================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.272 SPECS/eventum.spec:1.273
--- SPECS/eventum.spec:1.272    Tue Mar 25 12:28:29 2008
+++ SPECS/eventum.spec  Tue May 13 11:21:32 2008
@@ -10,9 +10,9 @@
 # Conditional build:
 %bcond_with    qmail   # build the router-qmail subpackage
 
-#define        _snap   20060921
-%define        _svn    r3558
-%define        _rel    2.2
+#define        snap    20060921
+%define        svn     r3569
+%define        rel     2.3
 #define        _rc             RC3
 
 %include       /usr/lib/rpm/macros.php
@@ -20,14 +20,14 @@
 Summary(pl.UTF-8):     Eventum - system śledzenia spraw/błędów
 Name:          eventum
 Version:       2.1.1
-Release:       %{?_rc:%{_rc}.}%{_rel}%{?_snap:.%{_snap}}%{?_svn:.%{_svn}}
+Release:       %{?_rc:%{_rc}.}%{rel}%{?snap:.%{snap}}%{?svn:.%{svn}}
 License:       GPL
 Group:         Applications/WWW
-#Source0:      
http://downloads.mysql.com/snapshots/eventum/%{name}-nightly-%{_snap}.tar.gz
+#Source0:      
http://downloads.mysql.com/snapshots/eventum/%{name}-nightly-%{snap}.tar.gz
 #Source0:      http://eventum.mysql.org/downloads/eventum-2.0.RC3.tar.gz
 #Source0:      
http://mysql.tonnikala.org/Downloads/eventum/%{name}-%{version}.tar.gz
-Source0:       %{name}-%{_svn}.tar.bz2
-# Source0-md5: f690b75f42992bf261ef91600282bcd3
+Source0:       %{name}-%{svn}.tar.bz2
+# Source0-md5: 6aaa0b9100c1e0983636d9e6dc739221
 Source1:       %{name}-apache.conf
 Source2:       %{name}-mail-queue.cron
 Source3:       %{name}-mail-download.cron
@@ -457,7 +457,7 @@
 </eventum/help.php?topic=scm_integration_installation>.
 
 %prep
-%setup -q %{?_snap:-n %{name}-%{_snap}}%{?_svn:-n %{name}-%{_svn}}
+%setup -q %{?snap:-n %{name}-%{snap}}%{?svn:-n %{name}-%{svn}}
 # undos the source
 find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,'
 
@@ -558,7 +558,7 @@
 
 
 %{__sed} -i -e "/define('APP_VERSION'/ {
-    idefine('APP_VERSION', 
'%{version}%{?_snap:-%{_snap}}%{?_rc:-%{_rc}}%{?_svn:-%{_svn}}');
+    idefine('APP_VERSION', 
'%{version}%{?snap:-%{snap}}%{?_rc:-%{_rc}}%{?svn:-%{svn}}');
     d
 
 }" $RPM_BUILD_ROOT%{_appdir}/htdocs/init.php
@@ -858,6 +858,11 @@
 database_changes4.php Perform database changes
 EOF
 
+%triggerpostun -- eventum < 2.1.1-2.3
+%{_appdir}/upgrade/upgrade.sh %{_appdir}/upgrade/v2.1.1_to_v2.2 <<EOF
+database_changes.php Perform database changes
+EOF
+
 %triggerpostun irc -- eventum-irc < 1.6.1-3.14
 sed -i -e '
 s,\$irc_host,$irc_server_hostname,
@@ -1032,6 +1037,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.273  2008-05-13 09:21:32  glen
+ - update to r3569, add databasse update trigger
+
 Revision 1.272  2008-03-25 11:28:29  glen
 - update to r3558
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/eventum.spec?r1=1.272&r2=1.273&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to