From a1230b900b3584d28c136e810e702219422ceb6b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 7 Sep 2022 13:27:41 +0200 Subject: update to 1.48.1 --- PHPINFO | 2 +- REFLECTION | 4 ++-- grpc-noatfork.patch | 2 +- php-pecl-grpc.spec | 28 +++++----------------------- 4 files changed, 9 insertions(+), 27 deletions(-) diff --git a/PHPINFO b/PHPINFO index 57996f4..81de86b 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.48.0 +grpc module version => 1.48.1 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index e5e87e3..5eab825 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #119 grpc version 1.48.0 ] { +Extension [ extension #120 grpc version 1.48.1 ] { - INI { Entry [ grpc.enable_fork_support ] @@ -60,7 +60,7 @@ Extension [ extension #119 grpc version 1.48.0 ] { Constant [ int Grpc\CHANNEL_READY ] { 2 } Constant [ int Grpc\CHANNEL_TRANSIENT_FAILURE ] { 3 } Constant [ int Grpc\CHANNEL_FATAL_FAILURE ] { 4 } - Constant [ string Grpc\VERSION ] { 1.48.0 } + Constant [ string Grpc\VERSION ] { 1.48.1 } } - Classes [7] { diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch index bb49d85..724375b 100644 --- a/grpc-noatfork.patch +++ b/grpc-noatfork.patch @@ -7,5 +7,5 @@ diff -up ./config.m4.noatfork ./config.m4 -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 \ - -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 \ -DGRPC_XDS_USER_AGENT_NAME_SUFFIX='"\"PHP\""' \ - -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.48.0\""') + -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.48.1\""') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 9df987a..158adf1 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -11,7 +11,6 @@ %undefine _strict_symbol_defs_build %if 0%{?scl:1} -%global sub_prefix %{scl_prefix} %scl_package php-pecl-grpc %endif @@ -20,11 +19,11 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.48.0 +%global upstream_version 1.48.1 #global upstream_prever RC2 Summary: General RPC framework -Name: %{?sub_prefix}php-pecl-%{pecl_name} +Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 @@ -55,26 +54,6 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} -%endif - -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -%if "%{php_version}" > "7.3" -Obsoletes: php73-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.4" -Obsoletes: php74-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.0" -Obsoletes: php80-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.1" -Obsoletes: php81-pecl-%{pecl_name} <= %{version} -%endif -%endif %description @@ -229,6 +208,9 @@ cd ../ZTS %changelog +* Wed Sep 7 2022 Remi Collet - 1.48.1-1 +- update to 1.48.1 + * Thu Jul 21 2022 Remi Collet - 1.48.0-1 - update to 1.48.0 -- cgit