[packages/php-pecl-memcached] use system fastlz

glen glen at pld-linux.org
Tue Nov 22 19:46:42 CET 2016


commit 2ef5d149f59c9083bb952232ee5209b43a325a0c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 22 20:43:53 2016 +0200

    use system fastlz

 php-pecl-memcached.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec
index 50d2dff..ab95391 100644
--- a/php-pecl-memcached.spec
+++ b/php-pecl-memcached.spec
@@ -12,6 +12,7 @@ Source0:	https://github.com/php-memcached-dev/php-memcached/archive/php7/%{modna
 URL:		http://pecl.php.net/package/memcached/
 BuildRequires:	%{php_name}-devel >= 4:5.2.0
 BuildRequires:	cyrus-sasl-devel
+BuildRequires:	fastlz-devel
 BuildRequires:	libmemcached-devel >= 1.0
 BuildRequires:	rpmbuild(macros) >= 1.650
 BuildRequires:	zlib-devel
@@ -33,9 +34,12 @@ API do komunikacji z serwerami memcached.
 %setup -qc
 mv php-memcached-*/{.??*,*} .
 
+rm fastlz/fastlz.c
+
 %build
 phpize
 %configure \
+	--with-system-fastlz \
 	--enable-memcached-json
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-memcached.git/commitdiff/b791cdba7ad889b19618127b78c5651b9d9c944a



More information about the pld-cvs-commit mailing list