SPECS: drupal-mod-og.spec - %banner for database creation info

glen glen at pld-linux.org
Tue Jul 5 19:46:34 CEST 2005


Author: glen                         Date: Tue Jul  5 17:46:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %banner for database creation info

---- Files affected:
SPECS:
   drupal-mod-og.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/drupal-mod-og.spec
diff -u SPECS/drupal-mod-og.spec:1.2 SPECS/drupal-mod-og.spec:1.3
--- SPECS/drupal-mod-og.spec:1.2	Sat May 21 10:39:19 2005
+++ SPECS/drupal-mod-og.spec	Tue Jul  5 19:46:29 2005
@@ -4,12 +4,13 @@
 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
@@ -52,6 +53,14 @@
 %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
@@ -63,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/07/05 17:46:29  glen
+- %banner for database creation info
+
 Revision 1.2  2005/05/21 08:39:19  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal-mod-og.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list