]> git.pld-linux.org Git - packages/drupal-mod-og.git/commitdiff
- %banner for database creation info
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Jul 2005 17:46:29 +0000 (17:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drupal-mod-og.spec -> 1.3

drupal-mod-og.spec

index e115be1f74a55d1f44312e9b0b8d805c7823a4f2..41242ca5526f953fb5adbbf9babeb39cae3c7f65 100644 (file)
@@ -3,12 +3,13 @@ Summary:      Drupal Organic groups Module
 Summary(pl):   Modu³ grup organicznych dla Drupala
 Name:          drupal-mod-%{modname}
 Version:       4.6.0
-Release:       0.3
+Release:       0.5
 Epoch:         0
 License:       GPL
 Group:         Applications/WWW
 Source0:       http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
 # Source0-md5: 8111c047c7a1a620e5547b1682ad80a3
+BuildRequires: rpmbuild(macros) >= 1.194
 URL:           http://drupal.org/project/og
 Requires:      drupal >= 4.6.0
 BuildArch:     noarch
@@ -51,6 +52,14 @@ install *.module $RPM_BUILD_ROOT%{_moddir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<EOF
+To create tables needed for Drupal Organic groups module, issue these commands:
+zcat %{_docdir}/%{name}-%{version}/og.mysql.gz | mysql drupal
+EOF
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc *.txt og.mysql
This page took 0.080143 seconds and 4 git commands to generate.