rpms/php-pecl-memcached/devel memcached.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 php-pecl-memcached.spec, 1.1, 1.2 sources, 1.2, 1.3
Remi Collet
remi at fedoraproject.org
Sat Jun 27 17:43:33 UTC 2009
- Previous message (by thread): rpms/teg/F-11 teg-disable-help.patch,NONE,1.1 teg.spec,1.11,1.12
- Next message (by thread): rpms/libinfinity/devel libinfinity.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/php-pecl-memcached/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17197
Modified Files:
.cvsignore php-pecl-memcached.spec sources
Added Files:
memcached.patch
Log Message:
update to 0.2.0
memcached.patch:
--- NEW FILE memcached.patch ---
--- /repository/pecl/memcached/php_memcached.c 2009/06/04 22:40:49 1.31
+++ /repository/pecl/memcached/php_memcached.c 2009/06/22 16:07:13 1.32
@@ -2802,9 +2802,18 @@
* Indicate whether igbinary serializer is available
*/
#ifdef HAVE_MEMCACHED_IGBINARY
- REGISTER_MEMC_CLASS_CONST_LONG(IGBINARY_SUPPORT, 1);
+ REGISTER_MEMC_CLASS_CONST_LONG(HAVE_IGBINARY, 1);
#else
- REGISTER_MEMC_CLASS_CONST_LONG(IGBINARY_SUPPORT, 0);
+ REGISTER_MEMC_CLASS_CONST_LONG(HAVE_IGBINARY, 0);
+#endif
+
+ /*
+ * Indicate whether json serializer is available
+ */
+#ifdef HAVE_JSON_API
+ REGISTER_MEMC_CLASS_CONST_LONG(HAVE_JSON, 1);
+#else
+ REGISTER_MEMC_CLASS_CONST_LONG(HAVE_JSON, 0);
#endif
/*
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcached/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore 5 May 2009 17:27:14 -0000 1.2
+++ .cvsignore 27 Jun 2009 17:43:01 -0000 1.3
@@ -1 +1 @@
-memcached-0.1.5.tgz
+memcached-0.2.0.tgz
Index: php-pecl-memcached.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcached/devel/php-pecl-memcached.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- php-pecl-memcached.spec 5 May 2009 17:27:14 -0000 1.1
+++ php-pecl-memcached.spec 27 Jun 2009 17:43:02 -0000 1.2
@@ -4,7 +4,7 @@
Summary: Extension to work with the Memcached caching daemon
Name: php-pecl-memcached
-Version: 0.1.5
+Version: 0.2.0
Release: 1%{?dist}
License: PHP
Group: Development/Languages
@@ -12,13 +12,19 @@ URL: http://pecl.php.net/packag
Source: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+# http://cvs.php.net/viewvc.cgi/pecl/memcached/php_memcached.c?r1=1.31&r2=1.32&view=patch
+Patch0: memcached.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: php-devel >= 5.2.0, php-pear
+# 5.2.10 required to HAVE_JSON enabled
+BuildRequires: php-devel >= 5.2.10, php-pear
BuildRequires: libmemcached-devel, zlib-devel
Requires(post): %{__pecl}
Requires(postun): %{__pecl}
+
+Requires: php-common >= 5.2.10
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
@@ -38,7 +44,9 @@ It also provides a session handler (memc
%prep
%setup -c -q
+cd %{pecl_name}-%{version}
+%patch0 -p4
%build
cd %{pecl_name}-%{version}
@@ -95,6 +103,9 @@ fi
%changelog
+* Sat Jun 27 2009 Remi Collet <fedora at famillecollet.com> - 0.2.0-1
+- Update to 0.2.0 + Patch for HAVE_JSON constant
+
* Sun Apr 29 2009 Remi Collet <fedora at famillecollet.com> - 0.1.5-1
- Initial RPM
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcached/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 5 May 2009 17:27:14 -0000 1.2
+++ sources 27 Jun 2009 17:43:02 -0000 1.3
@@ -1 +1 @@
-646c3ffb622adc0379a3951155f7f4bb memcached-0.1.5.tgz
+4a5eb666956ab69567fa9e76719669ae memcached-0.2.0.tgz
- Previous message (by thread): rpms/teg/F-11 teg-disable-help.patch,NONE,1.1 teg.spec,1.11,1.12
- Next message (by thread): rpms/libinfinity/devel libinfinity.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list