Author: glen                         Date: Tue Nov 24 12:50:09 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install doc

---- Files affected:
packages/mysql-udf-preg:
   mysql-udf-preg.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/mysql-udf-preg/mysql-udf-preg.spec
diff -u packages/mysql-udf-preg/mysql-udf-preg.spec:1.1 
packages/mysql-udf-preg/mysql-udf-preg.spec:1.2
--- packages/mysql-udf-preg/mysql-udf-preg.spec:1.1     Tue Nov 24 13:47:37 2009
+++ packages/mysql-udf-preg/mysql-udf-preg.spec Tue Nov 24 13:50:03 2009
@@ -7,7 +7,7 @@
 Summary:       MySQL UDF interface to PCRE
 Name:          mysql-udf-preg
 Version:       1.0
-Release:       0.1
+Release:       0.2
 License:       GPL v3
 Group:         Applications/Databases
 Source0:       
http://www.mysqludf.org/lib_mysqludf_preg/lib_mysqludf_preg-%{version}.tar.gz
@@ -52,6 +52,19 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ "$1" = 1 ]; then
+       %banner -e %{name} <<-'EOF'
+       To actually use the functions execute on your MySQL instances:
+
+       zcat %{_docdir}/%{name}-%{version}/installdb.sql.gz | mysql
+
+       To remove the functions:
+       zcat %{_docdir}/%{name}-%{version}/uninstalldb.sql.gz | mysql
+
+       EOF
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog INSTALL README
@@ -64,5 +77,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/11/24 12:50:03  glen
+- install doc
+
 Revision 1.1  2009/11/24 12:47:37  glen
 - new; based on mysql-udf-memcached.spec
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql-udf-preg/mysql-udf-preg.spec?r1=1.1&r2=1.2&f=u

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

Reply via email to