[packages/php-pecl-msgpack] this is php >= 7.0 version only

glen glen at pld-linux.org
Tue Nov 22 21:18:24 CET 2016


commit 901929e24b53cfe3e14392258182d72af6a6521c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Nov 22 22:18:09 2016 +0200

    this is php >= 7.0 version only

 php-pecl-msgpack.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-msgpack.spec b/php-pecl-msgpack.spec
index 6e5010c..0799366 100644
--- a/php-pecl-msgpack.spec
+++ b/php-pecl-msgpack.spec
@@ -6,6 +6,7 @@
 %define		modname	msgpack
 Summary:	PHP extension for interfacing with MessagePack
 Name:		%{php_name}-pecl-%{modname}
+# For PHP < 7, see 0.5.x branch
 Version:	2.0.1
 Release:	1
 License:	PHP 3.01
@@ -14,7 +15,7 @@ Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5:	4d1db4592ffa4101601aefc794191de5
 Patch0:		test041.patch
 URL:		http://pecl.php.net/package/msgpack/
-BuildRequires:	%{php_name}-devel
+BuildRequires:	%{php_name}-devel >= 4:7.0.0
 BuildRequires:	rpmbuild(macros) >= 1.666
 %if %{with tests}
 BuildRequires:	%{php_name}-cli
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-msgpack.git/commitdiff/901929e24b53cfe3e14392258182d72af6a6521c



More information about the pld-cvs-commit mailing list