diff options
Diffstat (limited to 'php-pecl-awscrt.spec')
-rw-r--r-- | php-pecl-awscrt.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-awscrt.spec b/php-pecl-awscrt.spec index 4511b16..ffc1064 100644 --- a/php-pecl-awscrt.spec +++ b/php-pecl-awscrt.spec @@ -36,6 +36,8 @@ License: Apache-2.0 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz +Patch0: 0001-fix-95-compatibility-with-PHP-5.x.patch + %if 0%{?rhel} == 7 && 0%{?dtsversion} == 0 BuildRequires: devtoolset-6-toolchain %global dtsversion 6 @@ -97,6 +99,8 @@ sed -e 's/role="test"/role="src"/' \ mv %{pecl_name}-%{version} NTS pushd NTS +%patch0 -p1 -b .pr96 + # Parallel build sed -e '/(CMAKE_BUILD)/s/$/ --verbose %{?_smp_mflags}/' -i Makefile.frag @@ -224,7 +228,8 @@ fi %changelog * Fri Mar 17 2023 Remi Collet <remi@remirepo.net> - 1.2.0-1 - update to 1.2.0 (stable) -- open https://github.com/awslabs/aws-crt-php/issues/95 PHP 5.x compatibility +- fix https://github.com/awslabs/aws-crt-php/issues/95 PHP 5.x compatibility + using patch from https://github.com/awslabs/aws-crt-php/pull/96 * Thu Mar 16 2023 Remi Collet <remi@remirepo.net> - 1.1.0-1 - update to 1.1.0 (devel) |