summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION2
-rw-r--r--grpc-build.patch4
-rw-r--r--php-pecl-grpc.spec8
3 files changed, 8 insertions, 6 deletions
diff --git a/REFLECTION b/REFLECTION
index 2063922..daa433a 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #184 grpc version 1.6.0 ] {
+Extension [ <persistent> extension #185 grpc version 1.7.0RC1 ] {
- Constants [41] {
Constant [ integer Grpc\CALL_OK ] { 0 }
diff --git a/grpc-build.patch b/grpc-build.patch
index 9c935c5..efff313 100644
--- a/grpc-build.patch
+++ b/grpc-build.patch
@@ -6,9 +6,9 @@ diff -up ./config.m4.rpm ./config.m4
LIBS="-lpthread $LIBS"
- CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11"
-- CXXFLAGS="-std=c++11"
+- CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti"
+ CFLAGS="$CFLAGS -Wno-parentheses-equality -Wno-unused-value -std=c11"
-+ CXXFLAGS="$CXXFLAGS -std=c++11"
++ CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti"
GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD"
PHP_REQUIRE_CXX()
PHP_ADD_LIBRARY(pthread)
diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec
index dfc5d7c..2cd5c7d 100644
--- a/php-pecl-grpc.spec
+++ b/php-pecl-grpc.spec
@@ -12,7 +12,6 @@
%endif
## TODO: not suitable for Fedora, tons of bundled libraries
-# and DON'T honours build flags
%global pecl_name grpc
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
@@ -21,8 +20,8 @@
%else
%global ini_name 40-%{pecl_name}.ini
%endif
-%global upstream_version 1.6.0
-#global upstream_prever RC1
+%global upstream_version 1.7.0
+%global upstream_prever RC1
Summary: General RPC framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}
@@ -221,6 +220,9 @@ cd ../ZTS
%changelog
+* Thu Oct 12 2017 Remi Collet <remi@remirepo.net> - 1.7.0~RC1-1
+- Update to 1.7.0RC1
+
* Tue Sep 19 2017 Remi Collet <remi@remirepo.net> - 1.6.0-1
- Update to 1.6.0 (stable)