packages: php-pear-HTML_Select/php-pear-HTML_Select-case.patch, php-pear-HT...

glen glen at pld-linux.org
Thu Aug 19 12:47:45 CEST 2010


Author: glen                         Date: Thu Aug 19 10:47:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.3.0-stable

---- Files affected:
packages/php-pear-HTML_Select:
   php-pear-HTML_Select-case.patch (1.1 -> 1.2) , php-pear-HTML_Select.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: packages/php-pear-HTML_Select/php-pear-HTML_Select-case.patch
diff -u packages/php-pear-HTML_Select/php-pear-HTML_Select-case.patch:1.1 packages/php-pear-HTML_Select/php-pear-HTML_Select-case.patch:1.2
--- packages/php-pear-HTML_Select/php-pear-HTML_Select-case.patch:1.1	Mon Aug  9 15:00:26 2004
+++ packages/php-pear-HTML_Select/php-pear-HTML_Select-case.patch	Thu Aug 19 12:47:40 2010
@@ -1,29 +1,11 @@
---- ./Select.php.org	Thu Feb 26 15:15:04 2004
-+++ ./Select.php	Mon Aug  9 14:57:26 2004
-@@ -157,7 +157,7 @@
-     function loadArray($arr, $values=null)
+--- HTML_Select-1.3.0/usr/share/pear/HTML/Select.php~	2010-08-19 13:44:58.000000000 +0300
++++ HTML_Select-1.3.0/usr/share/pear/HTML/Select.php	2010-08-19 13:45:45.892578488 +0300
+@@ -205,7 +205,7 @@
+     function loadArray($arr, $values = null)
      {
          if (!is_array($arr)) {
--            return new PEAR_ERROR('First argument to HTML_Select::loadArray is not a valid array');
-+            return new PEAR_Error('First argument to HTML_Select::loadArray is not a valid array');
+-            return new PEAR_ERROR(
++            return new PEAR_Error(
+                 'First argument to HTML_Select::loadArray is not a valid array'
+             );
          }
-         if (isset($values)) {
-             $this->setSelectedValues($values);
-@@ -182,7 +182,7 @@
-     function loadValueArray($arr, $values = null)
-     {
-         if (!is_array($arr)) {
--            return new PEAR_ERROR("First argument to HTML_Select::loadArray is not a valid array");
-+            return new PEAR_Error("First argument to HTML_Select::loadArray is not a valid array");
-         }
-         if (isset($values)) {
-             $this->setSelectedValues($values);
-@@ -213,7 +213,7 @@
-         
-         if (!is_object($result) || (strtolower(get_class($result)) != "db_result" && 
-             is_subclass_of($result, "db_result"))) {
--            return new PEAR_ERROR("First argument to HTML_Select::loadDbResult is not a valid DB_result");
-+            return new PEAR_Error("First argument to HTML_Select::loadDbResult is not a valid DB_result");
-         }
-          if (isset($values)) {
-             $this->setSelectedValues($values);

================================================================
Index: packages/php-pear-HTML_Select/php-pear-HTML_Select.spec
diff -u packages/php-pear-HTML_Select/php-pear-HTML_Select.spec:1.27 packages/php-pear-HTML_Select/php-pear-HTML_Select.spec:1.28
--- packages/php-pear-HTML_Select/php-pear-HTML_Select.spec:1.27	Thu Jan 31 13:17:32 2008
+++ packages/php-pear-HTML_Select/php-pear-HTML_Select.spec	Thu Aug 19 12:47:40 2010
@@ -2,18 +2,17 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		HTML
 %define		_subclass	Select
-%define		_status		beta
+%define		_status		stable
 %define		_pearname	%{_class}_%{_subclass}
-
 Summary:	%{_pearname} - class for generating HTML form select elements
 Summary(pl.UTF-8):	%{_pearname} - klasa do generowania elementów select formularzy HTML
 Name:		php-pear-%{_pearname}
-Version:	1.2.1
-Release:	6
+Version:	1.3.0
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	9c9b84cc3b1595f6000ef1845829dae8
+# Source0-md5:	7b2a5246c9e9b84a3cd008c80f08125c
 Patch0:		%{name}-case.patch
 URL:		http://pear.php.net/package/HTML_Select/
 BuildRequires:	php-pear-PEAR
@@ -21,6 +20,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	php-pear
 Requires:	php-pear-HTML_Common >= 1.1
+Requires:	php-pear-PEAR-core >= 1:1.4.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,7 +38,6 @@
 
 %prep
 %pear_package_setup
-cd ./%{php_pear_dir}/%{_class}
 %patch0 -p1
 
 %install
@@ -61,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2010/08/19 10:47:40  glen
+- up to 1.3.0-stable
+
 Revision 1.27  2008/01/31 12:17:32  glen
 - rel 6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-HTML_Select/php-pear-HTML_Select-case.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-HTML_Select/php-pear-HTML_Select.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list