summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-01 08:54:31 +0200
committerRemi Collet <remi@remirepo.net>2017-06-01 08:54:31 +0200
commit9ac6bcdc5b30b7eee2efca549b757be7aa5901d7 (patch)
tree6cf29d8cfbf1e83dca995c2bd7604ba52acf5c2f
parenta3ad14b07a305573a25b0d25d395b955bd6d8d12 (diff)
v1.4.0RC1
-rw-r--r--REFLECTION2
-rw-r--r--php-pecl-grpc.spec16
2 files changed, 11 insertions, 7 deletions
diff --git a/REFLECTION b/REFLECTION
index ae5a6ed..ca02e53 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #92 grpc version 1.3.2 ] {
+Extension [ <persistent> extension #92 grpc version 1.4.0RC1 ] {
- Constants [41] {
Constant [ integer Grpc\CALL_OK ] { 0 }
diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec
index d362fbb..c692dc5 100644
--- a/php-pecl-grpc.spec
+++ b/php-pecl-grpc.spec
@@ -12,6 +12,7 @@
%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}}
@@ -20,8 +21,8 @@
%else
%global ini_name 40-%{pecl_name}.ini
%endif
-%global upstream_version 1.3.2
-#global upstream_prever RC1
+%global upstream_version 1.4.0
+%global upstream_prever RC1
Summary: General RPC framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}
@@ -99,11 +100,11 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
# https://github.com/grpc/grpc/issues/10842
-sed -e '/Replace with version number/s/0.1.0/%{upstream_version}%{?upstream_prever}/' \
- -i src/php/ext/grpc/php_grpc.h
+sed -e '/PHP_GRPC_VERSION/s/"1.4.0"/"%{upstream_version}%{?upstream_prever}"/' \
+ -i src/php/ext/grpc/version.h
# Sanity check, really often broken
-extver=$(sed -n '/Replace/{s/.* "//;s/".*$//;p}' src/php/ext/grpc/php_grpc.h)
+extver=$(sed -n '/PHP_GRPC_VERSION/{s/.* "//;s/".*$//;p}' src/php/ext/grpc/version.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
: Error: Upstream extension version is ${extver}, expecting %{upstream_version}%{?upstream_prever}.
exit 1
@@ -207,7 +208,7 @@ cd ../ZTS
%files
%{!?_licensedir:%global license %%doc}
-%license NTS/src/php/ext/grpc/LICENSE
+%license NTS/LICENSE
%{pecl_xmldir}/%{name}.xml
%config(noreplace) %{php_inidir}/%{ini_name}
@@ -220,6 +221,9 @@ cd ../ZTS
%changelog
+* Thu Jun 1 2017 Remi Collet <remi@remirepo.net> - 1.4.0~RC1-1
+- update to 1.4.0RC1
+
* Fri May 12 2017 Remi Collet <remi@remirepo.net> - 1.3.2-1
- update to 1.3.2 (stable)