SPECS: ZendFramework.spec - add DB charset patch for mysql drivers; rel 1

glen glen at pld-linux.org
Fri Jan 9 16:10:04 CET 2009


Author: glen                         Date: Fri Jan  9 15:10:04 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add DB charset patch for mysql drivers; rel 1

---- Files affected:
SPECS:
   ZendFramework.spec (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: SPECS/ZendFramework.spec
diff -u SPECS/ZendFramework.spec:1.32 SPECS/ZendFramework.spec:1.33
--- SPECS/ZendFramework.spec:1.32	Wed Dec 31 17:08:32 2008
+++ SPECS/ZendFramework.spec	Fri Jan  9 16:09:58 2009
@@ -35,7 +35,7 @@
 Summary(pl.UTF-8):	Szkielet Zend
 Name:		ZendFramework
 Version:	1.7.2
-Release:	0.1
+Release:	1
 License:	New BSD License
 Group:		Development/Languages/PHP
 Source0:	http://framework.zend.com/releases/%{name}-%{version}/ZendFramework-%{version}.tar.gz
@@ -44,6 +44,8 @@
 # Source1-md5:	77e7cc4fa67b53763adb47911c0867eb
 Source2:	%{name}-find-lang.sh
 URL:		http://framework.zend.com/
+Patch0:		%{name}-additional-locales.patch
+Patch1:		%{name}-db_charset.patch
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	sed >= 4.0
 Requires:	php-common >= 4:5.1.4
@@ -1121,8 +1123,11 @@
 %prep
 %setup -q -a1
 mv %{name}-%{version}/documentation .
-
 find '(' -name '*.php' -o -name '*.xml' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
+%patch0 -p1
+cd library
+%patch1 -p0
+cd -
 
 install %{SOURCE2} find-lang.sh
 
@@ -1132,6 +1137,8 @@
 cp -a demos/Zend/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 # library should be in include_path if used, so we use already defined %{php_pear_dir}
+# NOTE: we could use %{php_data_dir} as of php-common-4:5.2.8-3, but then
+# pear(...) deps won't be satisifed that these libs use extensively.
 cp -a library/* $RPM_BUILD_ROOT%{php_pear_dir}
 
 ./find-lang.sh %{name}.lang
@@ -1508,6 +1515,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.33  2009/01/09 15:09:58  glen
+- add DB charset patch for mysql drivers; rel 1
+
 Revision 1.32  2008/12/31 16:08:32  glen
 - update to 1.7.2; add manual-en subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ZendFramework.spec?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list