[packages/php-pecl-igbinary] up to 1.2.0

glen glen at pld-linux.org
Thu Aug 28 11:42:43 CEST 2014


commit 81816149e8af47c5a4feb0cbd2906587bd4a621a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Aug 28 12:42:06 2014 +0300

    up to 1.2.0

 apc-modname.patch       | 11 -----------
 call-by-reference.patch | 12 ------------
 php-pecl-igbinary.spec  | 24 ++++++------------------
 3 files changed, 6 insertions(+), 41 deletions(-)
---
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 64987cb..500b15a 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -6,19 +6,13 @@
 %define		modname	igbinary
 Summary:	Replacement for the standard PHP serializer
 Name:		%{php_name}-pecl-%{modname}
-Version:	1.1.1
-Release:	7
+Version:	1.2.0
+Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5:	4ad53115ed7d1d452cbe50b45dcecdf2
-# http://pecl.php.net/bugs/22598
-# https://github.com/igbinary/igbinary/tree/1.1.1/tests
-Source1:	https://github.com/igbinary/igbinary/tarball/%{version}/tests?/%{modname}-tests.tgz
-# Source1-md5:	b171ba8b230f6de3e7095500515fc6bb
+# Source0-md5:	3755f17c73e7ef1fa022efd3b49d0573
 Source2:	%{modname}.ini
-Patch0:		apc-modname.patch
-Patch1:		call-by-reference.patch
 URL:		http://pecl.php.net/package/igbinary
 %{?with_tests:BuildRequires:	%{php_name}-cli}
 BuildRequires:	%{php_name}-devel >= 4:5.2.0
@@ -53,14 +47,8 @@ Requires:	%{php_name}-devel
 These are the files needed to compile programs using Igbinary
 
 %prep
-%setup -qc -a1
-mv %{modname}-%{version}/* .
-mv igbinary-igbinary-bef0aca/tests .
-%patch0 -p1
-%patch1 -p1
-
-# broken
-rm tests/igbinary_unserialize_v1_compatible.phpt
+%setup -qc
+mv %{modname}-*/* .
 
 %build
 phpize
@@ -109,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING CREDITS NEWS README
+%doc COPYING CREDITS NEWS README.md
 %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/*%{modname}.ini
 %attr(755,root,root) %{php_extensiondir}/%{modname}.so
 
diff --git a/apc-modname.patch b/apc-modname.patch
deleted file mode 100644
index 284cbe0..0000000
--- a/apc-modname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- php-pecl-igbinary-1.1.1/tests/igbinary_045.phpt~	2011-01-17 16:24:32.000000000 +0200
-+++ php-pecl-igbinary-1.1.1/tests/igbinary_045.phpt	2011-10-14 09:07:47.665440589 +0300
-@@ -12,7 +12,7 @@
- }
- 
- --INI--
--extension=apc.so
-+extension=APC.so
- apc.enable_cli=1
- apc.serializer=igbinary
- --FILE--
diff --git a/call-by-reference.patch b/call-by-reference.patch
deleted file mode 100644
index 70500b2..0000000
--- a/call-by-reference.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-PHP Fatal error:  Call-time pass-by-reference has been removed
---- php55-pecl-igbinary-1.1.1/tests/igbinary_024.phpt	2011-01-17 16:24:32.000000000 +0200
-+++ php55-pecl-igbinary-1.1.1/tests/igbinary_024.phpt	2014-06-12 16:02:44.580654091 +0300
-@@ -81,7 +81,7 @@
- test('objectrecarr', $o3, false);
- 
- $o4 = new Obj4(100);
--$o4->set(&$o4);
-+$o4->set($o4);
- test('objectselfrec', $o4, true);
- 
- /*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-igbinary.git/commitdiff/81816149e8af47c5a4feb0cbd2906587bd4a621a



More information about the pld-cvs-commit mailing list