From 89297d6d181ec23fc2975f40bcd72a324ebfb12a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 2 Mar 2023 11:28:48 +0100 Subject: update to 1.53.0RC1 use GCC 7 on EL-7 with PHP <= 7.2 --- php-pecl-grpc.spec | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'php-pecl-grpc.spec') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index d630374..25f88e1 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -19,8 +19,8 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.52.1 -#global upstream_prever RC1 +%global upstream_version 1.53.0 +%global upstream_prever RC1 Summary: General RPC framework Name: %{?scl_prefix}php-pecl-%{pecl_name} @@ -33,14 +33,14 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upst Patch0: %{pecl_name}-build.patch Patch1: %{pecl_name}-noatfork.patch -%if 0%{?rhel} == 7 && 0%{?dtsversion} == 0 -BuildRequires: devtoolset-6-toolchain -%global dtsversion 6 -%global dtsenable source /opt/rh/devtoolset-6/enable -%global dtsprefix devtoolset-6- +%if 0%{?rhel} == 7 && 0%{?dtsversion} < 7 +BuildRequires: devtoolset-7-toolchain +%global dtsversion 7 +%global dtsenable source /opt/rh/devtoolset-7/enable +%global dtsprefix devtoolset-7- %endif BuildRequires: make -BuildRequires: %{?dtsprefix}gcc +BuildRequires: %{?dtsprefix}gcc >= 7 BuildRequires: %{?dtsprefix}gcc-c++ BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear @@ -208,6 +208,10 @@ cd ../ZTS %changelog +* Thu Mar 2 2023 Remi Collet - 1.53.0~RC1-1 +- update to 1.53.0RC1 +- use GCC 7 on EL-7 with PHP <= 7.2 + * Mon Feb 27 2023 Remi Collet - 1.52.1-1 - update to 1.52.1 -- cgit