rpms/php-pecl-memcache/EL-5 php-pecl-memcache.spec, 1.1, 1.2 sources, 1.2, 1.3

Remi Collet (remi) fedora-extras-commits at redhat.com
Thu Jan 3 20:14:00 UTC 2008


Author: remi

Update of /cvs/extras/rpms/php-pecl-memcache/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25637

Modified Files:
	php-pecl-memcache.spec sources 
Log Message:
update to 2.2.1


Index: php-pecl-memcache.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcache/EL-5/php-pecl-memcache.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- php-pecl-memcache.spec	31 Aug 2007 13:44:32 -0000	1.1
+++ php-pecl-memcache.spec	3 Jan 2008 20:13:14 -0000	1.2
@@ -1,11 +1,12 @@
 %{!?__pecl:     %{expand: %%global __pecl     %{_bindir}/pecl}}
 %{!?php_extdir: %{expand: %%global php_extdir %(php-config --extension-dir)}}
+%global php_apiver  %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
 
 %define pecl_name memcache
 
 Summary:      Extension to work with the Memcached caching daemon
 Name:         php-pecl-memcache
-Version:      2.1.2
+Version:      2.2.1
 Release:      1%{?dist}
 License:      PHP
 Group:        Development/Languages
@@ -16,7 +17,7 @@
 Source2:      xml2changelog
 
 BuildRoot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: php-devel, php-pear, zlib-devel
+BuildRequires: php-devel >= 4.3.11, php-pear, zlib-devel
 Requires(post): %{__pecl}
 Requires(postun): %{__pecl}
 Provides:     php-pecl(%{pecl_name}) = %{version}-%{release}
@@ -35,6 +36,7 @@
 This extension allows you to work with memcached through
 handy OO and procedural interfaces.
 
+Memcache can be used as a PHP session handler.
 
 %prep 
 %setup -c -q
@@ -63,21 +65,21 @@
 
 ; Whether to transparently failover to other servers on errors
 ;memcache.allow_failover=1
-
 ; Defines how many servers to try when setting and getting data.
 ;memcache.max_failover_attempts=20
-
 ; Data will be transferred in chunks of this size
 ;memcache.chunk_size=8192
-
 ; The default TCP port number to use when connecting to the memcached server 
 ;memcache.default_port=11211
+; Hash function {crc32, fnv}
+;memcache.hash_function=crc32
+; Hash strategy {standard, consistent}
+;memcache.hash_strategy=standard
 
 ; Options to use the memcache session handler
 
 ; Use memcache as a session handler
 ;session.save_handler=memcache
-
 ; Defines a comma separated of server urls to use for session storage
 ;session.save_path="tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
 EOF
@@ -115,6 +117,14 @@
 
 
 %changelog
+* Thu Nov 01 2007 Remi Collet <Fedora at FamilleCollet.com> 2.2.1-1
+- new version
+
+* Sat Sep 22 2007 Remi Collet <Fedora at FamilleCollet.com> 2.2.0-1
+- new version
+- add new INI directives (hash_strategy + hash_function) to config
+- add BR on php-devel >= 4.3.11 
+
 * Mon Aug 20 2007 Remi Collet <Fedora at FamilleCollet.com> 2.1.2-1
 - initial RPM
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-memcache/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	31 Aug 2007 13:44:32 -0000	1.2
+++ sources	3 Jan 2008 20:13:14 -0000	1.3
@@ -1 +1 @@
-cfde0918360f3909a242c3211604ad46  memcache-2.1.2.tgz
+c05cc08a0e0c989236e4dc8b8920f8bd  memcache-2.2.1.tgz




More information about the fedora-extras-commits mailing list