Author: glen                         Date: Fri Jan  5 01:48:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 4.6.11 (sa-2007-001)
- perform database updates on update

---- Files affected:
SPECS:
   drupal.spec (1.70 -> 1.71) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.70 SPECS/drupal.spec:1.71
--- SPECS/drupal.spec:1.70      Tue Nov 21 20:56:48 2006
+++ SPECS/drupal.spec   Fri Jan  5 02:48:35 2007
@@ -1,15 +1,15 @@
 # $Revision$, $Date$
 %define                _ver            4.6
-%define                _patchlevel     10
+%define                _patchlevel     11
 Summary:       Open source content management platform
 Summary(pl):   Platforma do zarządzania treścią o otwartych źródłach
 Name:          drupal
 Version:       %{_ver}.%{_patchlevel}
-Release:       2
+Release:       1
 License:       GPL
 Group:         Applications/WWW
 Source0:       http://drupal.org/files/projects/%{name}-%{version}.tar.gz
-# Source0-md5: c96eef1d33b5bac9526b3b1d6fc5b556
+# Source0-md5: cfa5777fb6a612addcee75dad132909e
 Source1:       %{name}.conf
 Source2:       %{name}.cron
 Source3:       %{name}.PLD
@@ -28,6 +28,7 @@
 BuildRequires: sed >= 4.0
 Requires:      %{name}(DB_Driver) = %{version}-%{release}
 Requires:      %{name}(theme) = %{_ver}
+Requires:      /usr/bin/php
 Requires:      apache(mod_access)
 Requires:      apache(mod_alias)
 Requires:      apache(mod_dir)
@@ -231,6 +232,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+# Perform database updates
+echo 'Performing Drupal database updates'
+%{_bindir}/php %{_appdir}/update.php Update
+echo 'Done'
+
 %post db-mysql
 if [ "$1" = 1 ]; then
 %banner -e %{name}-db-mysql <<EOF
@@ -412,6 +419,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71  2007/01/05 01:48:35  glen
+- update to 4.6.11 (sa-2007-001)
+- perform database updates on update
+
 Revision 1.70  2006/11/21 19:56:48  glen
 - rel 2: use php(extension) virtuals
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.70&r2=1.71&f=u

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

Reply via email to