From e9dc26c424cf15fd15c465bbc2520d175398e794 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Mar 2023 08:01:08 +0100 Subject: update to 1.2.0 (stable) open https://github.com/awslabs/aws-crt-php/issues/95 PHP 5.x compatibility --- PHPINFO | 2 +- REFLECTION | 2 +- php-pecl-awscrt.spec | 18 ++++++++++++++---- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/PHPINFO b/PHPINFO index 04ebae6..b4a9026 100644 --- a/PHPINFO +++ b/PHPINFO @@ -1,7 +1,7 @@ awscrt -Version => 1.1.0 +Version => 1.2.0 Directive => Local Value => Master Value awscrt.log_level => no value => no value diff --git a/REFLECTION b/REFLECTION index 44f7a05..a3bb4ab 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #121 awscrt version 1.1.0 ] { +Extension [ extension #121 awscrt version 1.2.0 ] { - INI { Entry [ awscrt.log_level ] diff --git a/php-pecl-awscrt.spec b/php-pecl-awscrt.spec index a15ec09..4511b16 100644 --- a/php-pecl-awscrt.spec +++ b/php-pecl-awscrt.spec @@ -30,15 +30,21 @@ Summary: AWS Common Runtime PHP bindings Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.1.0 +Version: 1.2.0 Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: Apache-2.0 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +%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- +%endif BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 7.2 +BuildRequires: %{?scl_prefix}php-devel >= 5.5 BuildRequires: %{?scl_prefix}php-cli BuildRequires: %{?scl_prefix}php-pear BuildRequires: openssl-devel @@ -216,11 +222,15 @@ fi %changelog +* Fri Mar 17 2023 Remi Collet - 1.2.0-1 +- update to 1.2.0 (stable) +- open https://github.com/awslabs/aws-crt-php/issues/95 PHP 5.x compatibility + * Thu Mar 16 2023 Remi Collet - 1.1.0-1 -- update to 1.1.0 +- update to 1.1.0 (devel) * Wed Mar 15 2023 Remi Collet - 1.0.11-1 -- update to 1.0.11 +- update to 1.0.11 (devel) * Tue Mar 14 2023 Remi Collet - 1.0.10-1 - update to 1.0.10 (devel) -- cgit