packages: ZendFramework/ZendFramework.spec - rel down, zend_db is broken - ...

glen glen at pld-linux.org
Tue Jun 2 11:48:27 CEST 2009


Author: glen                         Date: Tue Jun  2 09:48:27 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel down, zend_db is broken
- check for syntax error for all sources to catch this earlier

---- Files affected:
packages/ZendFramework:
   ZendFramework.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: packages/ZendFramework/ZendFramework.spec
diff -u packages/ZendFramework/ZendFramework.spec:1.58 packages/ZendFramework/ZendFramework.spec:1.59
--- packages/ZendFramework/ZendFramework.spec:1.58	Wed May 27 22:52:33 2009
+++ packages/ZendFramework/ZendFramework.spec	Tue Jun  2 11:48:21 2009
@@ -1,10 +1,14 @@
 # $Revision$, $Date$
+# 
+#PHP Fatal error:  Cannot redeclare Zend_Db_Adapter_Pdo_Mysql::_connect() in library/Zend/Db/Adapter/Pdo/Mysql.php on line 120
+#Errors parsing library/Zend/Db/Adapter/Pdo/Mysql.php
+
 %include	/usr/lib/rpm/macros.php
 Summary:	Zend Framework
 Summary(pl.UTF-8):	Szkielet Zend
 Name:		ZendFramework
 Version:	1.8.2
-Release:	1
+Release:	0.1
 License:	New BSD License
 Group:		Development/Languages/PHP
 Source0:	http://framework.zend.com/releases/%{name}-%{version}/%{name}-%{version}.tar.gz
@@ -167,11 +171,11 @@
 Requires:	%{name} = %{version}-%{release}
 
 %description Zend_CodeGenerator
-Zend_CodeGenerator provides facilities to generate arbitrary code using
-an object oriented interface, both to create new code as well as to
-update existing code. While the current implementation is limited to
-generating PHP code, you can easily extend the base class in order to
-provide code generation for other tasks: JavaScript, configuration
+Zend_CodeGenerator provides facilities to generate arbitrary code
+using an object oriented interface, both to create new code as well as
+to update existing code. While the current implementation is limited
+to generating PHP code, you can easily extend the base class in order
+to provide code generation for other tasks: JavaScript, configuration
 files, apache vhosts, etc.
 
 %package Zend_Config
@@ -732,23 +736,23 @@
 
 %description Zend_Reflection
 Zend_Reflection is a drop-in extension to PHP's own Reflection API,
-providing several additional features: 
- - Ability to retrieve return values types. 
- - Ability to retrieve method and function parameter types. 
- - Ability to retrieve class property types. 
- - DocBlocks gain a Reflection class, allowing introspection of docblocks.
-   This provides the ability to determine what annotation tags have been
-   defined as well as to retrieve their values, and the ability to retrieve
-   the short and long descriptions. 
- - Files gain a Reflection class, allowing introspection of PHP files. This
-   provides the ability to determine what functions and classes are defined
-   in a given file, as well as to instrospect them. 
- - Ability to override any Reflection class with your own variant, for the
-   entire reflection tree you create. 
-
-In general, Zend_Reflection works just like the standard Reflection API,
-but provides a few additional methods for retrieving artifacts not
-defined in the Reflection API.
+providing several additional features:
+ - Ability to retrieve return values types.
+ - Ability to retrieve method and function parameter types.
+ - Ability to retrieve class property types.
+ - DocBlocks gain a Reflection class, allowing introspection of
+   docblocks. This provides the ability to determine what annotation tags
+   have been defined as well as to retrieve their values, and the ability
+   to retrieve the short and long descriptions.
+ - Files gain a Reflection class, allowing introspection of PHP files.
+   This provides the ability to determine what functions and classes are
+   defined in a given file, as well as to instrospect them.
+ - Ability to override any Reflection class with your own variant, for
+   the entire reflection tree you create.
+
+In general, Zend_Reflection works just like the standard Reflection
+API, but provides a few additional methods for retrieving artifacts
+not defined in the Reflection API.
 
 %package Zend_Registry
 Summary:	Zend_Registry
@@ -1080,10 +1084,10 @@
 
 %description Zend_Tag
 Zend_Tag is a component suite which provides a facility to work with
-taggable Items. As its base, it provides two classes to work with Tags,
-Zend_Tag_Item and Zend_Tag_ItemList. Additionally, it comes with the
-interface Zend_Tag_Taggable, which allows you to use any of your models
-as a taggable item in conjunction with Zend_Tag.
+taggable Items. As its base, it provides two classes to work with
+Tags, Zend_Tag_Item and Zend_Tag_ItemList. Additionally, it comes with
+the interface Zend_Tag_Taggable, which allows you to use any of your
+models as a taggable item in conjunction with Zend_Tag.
 
 %package Zend_Text
 Summary:	Zend_Text
@@ -1271,6 +1275,15 @@
 
 install %{SOURCE2} find-lang.sh
 
+%build
+# check *.php files syntax using runkit extension
+lint_php() {
+	for a in $(find library -name '*.php'); do
+		php -l "$a"
+	done
+}
+lint_php
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{php_pear_dir}/bin}
@@ -1695,6 +1708,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2009/06/02 09:48:21  glen
+- rel down, zend_db is broken
+- check for syntax error for all sources to catch this earlier
+
 Revision 1.58  2009/05/27 20:52:33  adamg
 - updated to 1.8.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ZendFramework/ZendFramework.spec?r1=1.58&r2=1.59&f=u



More information about the pld-cvs-commit mailing list