From 1bc8a50ba3bd6c1a4e4930f95594a7f3f9e9a303 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Aug 2017 07:47:38 +0200 Subject: v1.4.3 --- php-pecl-grpc.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'php-pecl-grpc.spec') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 0b23ae5..50abdab 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -21,18 +21,22 @@ %else %global ini_name 40-%{pecl_name}.ini %endif -%global upstream_version 1.4.1 +%global upstream_version 1.4.3 #global upstream_prever RC2 Summary: General RPC framework Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +# https://github.com/grpc/grpc/issues/12114 +# https://github.com/grpc/grpc/pull/12117 +Patch0: 12117.patch + BuildRequires: %{?scl_prefix}php-devel > 5.5 BuildRequires: %{?scl_prefix}php-pear BuildRequires: zlib-devel @@ -99,9 +103,7 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -# https://github.com/grpc/grpc/issues/10842 -sed -e '/PHP_GRPC_VERSION/s/"1.4.0RC1"/"%{upstream_version}%{?upstream_prever}"/' \ - -i src/php/ext/grpc/version.h +%patch0 -p1 -b .pr12117 # Sanity check, really often broken extver=$(sed -n '/PHP_GRPC_VERSION/{s/.* "//;s/".*$//;p}' src/php/ext/grpc/version.h) @@ -221,6 +223,11 @@ cd ../ZTS %changelog +* Tue Aug 8 2017 Remi Collet - 1.4.3-1 +- Update to 1.4.3 +- add patch for ZTS build + from https://github.com/grpc/grpc/pull/12117 + * Tue Jul 18 2017 Remi Collet - 1.4.1-2 - rebuild for PHP 7.2.0beta1 new API -- cgit