+++ /dev/null
---- grpc-0.15.0/config.m4~ 2016-06-28 02:33:35.000000000 +0300
-+++ grpc-0.15.0/config.m4 2016-07-20 22:29:20.633876591 +0300
-@@ -5,9 +5,9 @@
- dnl Write more examples of tests here...
-
- dnl # --with-grpc -> add include path
-- PHP_ADD_INCLUDE(../../grpc/include)
-- PHP_ADD_INCLUDE(../../grpc/src/php/ext/grpc)
-- PHP_ADD_INCLUDE(../../grpc/third_party/boringssl/include)
-+ PHP_ADD_INCLUDE(include)
-+ PHP_ADD_INCLUDE(src/php/ext/grpc)
-+ PHP_ADD_INCLUDE(third_party/boringssl/include)
-
- LIBS="-lpthread $LIBS"
-
%define modname grpc
Summary: A high performance, general RPC framework that puts mobile and HTTP/2 first
Name: %{php_name}-pecl-%{modname}
-Version: 0.15.0
+Version: 1.54.0
Release: 1
License: BSD
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5: ba80ec5aa995d7b9e3df7d6d299bbd4b
-Patch0: includes.patch
+# Source0-md5: 8c1912166e74799f2905fc1897e418b5
URL: http://pecl.php.net/package/grpc/
%{?with_tests:BuildRequires: %{php_name}-cli}
BuildRequires: %{php_name}-devel >= 4:5.5
%prep
%setup -qc
mv %{modname}-%{version}/* .
-%patch0 -p1
%build
phpize
# simple module load test
%{__php} -n -q \
-d extension_dir=modules \
- -d extension=%{php_extensiondir}/pcre.so \
- -d extension=%{php_extensiondir}/spl.so \
-d extension=%{modname}.so \
-m > modules.log
grep %{modname} modules.log