[packages/php-pear-Console_Getargs] - updated to 1.4.0

adamg adamg at pld-linux.org
Mon Oct 22 08:25:13 CEST 2018


commit 693ecee3c5dea440ab4c60fb26acf532fc465600
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Mon Oct 22 08:25:06 2018 +0200

    - updated to 1.4.0

 deprecation.patch             | 11 -----------
 php-pear-Console_Getargs.spec |  7 +++----
 2 files changed, 3 insertions(+), 15 deletions(-)
---
diff --git a/php-pear-Console_Getargs.spec b/php-pear-Console_Getargs.spec
index bf8fc41..78364a8 100644
--- a/php-pear-Console_Getargs.spec
+++ b/php-pear-Console_Getargs.spec
@@ -4,12 +4,12 @@
 Summary:	%{_pearname} - a command-line arguments parser
 Summary(pl.UTF-8):	%{_pearname} - przetwarzanie argumentów linii poleceń
 Name:		php-pear-%{_pearname}
-Version:	1.3.5
-Release:	2
+Version:	1.4.0
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	a727bc63cc5fe4e28ccb37401cdc1525
+# Source0-md5:	f99266907369af0191ea32f25dc6317e
 Patch0:		deprecation.patch
 URL:		http://pear.php.net/package/Console_Getargs/
 BuildRequires:	php-packagexml2cl
@@ -43,7 +43,6 @@ Ta klasa ma w PEAR status: %{_status}.
 
 %prep
 %pear_package_setup
-%patch0 -p1
 
 mv docs/%{_pearname}/examples .
 
diff --git a/deprecation.patch b/deprecation.patch
deleted file mode 100644
index 3939af8..0000000
--- a/deprecation.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Console_Getargs-1.3.5/usr/share/pear/Console/Getargs.php~	2010-11-15 16:53:57.000000000 +0200
-+++ Console_Getargs-1.3.5/usr/share/pear/Console/Getargs.php	2010-11-15 16:54:34.292318997 +0200
-@@ -224,7 +224,7 @@
-     function &factory($config = array(), $arguments = null)
-     {
-         // Create the options object.
--        $obj = & new Console_Getargs_Options();
-+        $obj = new Console_Getargs_Options();
- 
-         // Try to set up the arguments.
-         $err = $obj->init($config, $arguments);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Console_Getargs.git/commitdiff/693ecee3c5dea440ab4c60fb26acf532fc465600



More information about the pld-cvs-commit mailing list