From 9ac6bcdc5b30b7eee2efca549b757be7aa5901d7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Jun 2017 08:54:31 +0200 Subject: v1.4.0RC1 --- REFLECTION | 2 +- php-pecl-grpc.spec | 16 ++++++++++------ 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 [ extension #92 grpc version 1.3.2 ] { +Extension [ 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 - 1.4.0~RC1-1 +- update to 1.4.0RC1 + * Fri May 12 2017 Remi Collet - 1.3.2-1 - update to 1.3.2 (stable) -- cgit