]> git.pld-linux.org Git - packages/drupal.git/commitdiff
- update to 4.6.11 (sa-2007-001)
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 5 Jan 2007 01:48:35 +0000 (01:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- perform database updates on update

Changed files:
    drupal.spec -> 1.71

drupal.spec

index f28071d1ca3e208bdfc89d17bb70819395a7a167..e1f2566fb906d7abf22848ebb71c64446cf47dc6 100644 (file)
@@ -1,14 +1,14 @@
 %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
@@ -27,6 +27,7 @@ BuildRequires:        rpmbuild(macros) >= 1.264
 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)
@@ -230,6 +231,12 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/%{name}
 %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
This page took 0.033226 seconds and 4 git commands to generate.