summaryrefslogtreecommitdiffstats
path: root/php-pecl-awscrt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-awscrt.spec')
-rw-r--r--php-pecl-awscrt.spec23
1 files changed, 8 insertions, 15 deletions
diff --git a/php-pecl-awscrt.spec b/php-pecl-awscrt.spec
index 8af2d6c..4e27e19 100644
--- a/php-pecl-awscrt.spec
+++ b/php-pecl-awscrt.spec
@@ -30,21 +30,15 @@
Summary: AWS Common Runtime PHP bindings
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.0.4
-Release: 2%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 1.0.7
+Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: ASL 2.0
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-# recursive git clone
-Source1: php-pecl-%{pecl_name}-%{version}.tgz
-Source2: makesrc.sh
-
-# Workaround for https://github.com/awslabs/aws-crt-php/issues/35
-Patch0: %{pecl_name}-build.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 7.4
+BuildRequires: %{?scl_prefix}php-devel >= 7.2
BuildRequires: %{?scl_prefix}php-cli
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: openssl-devel
@@ -94,7 +88,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
-%setup -q -c -a1
+%setup -q -c
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
@@ -106,15 +100,11 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
mv %{pecl_name}-%{version} NTS
-rm -rf NTS/crt
-ln -s ../%{gh_project}-%{version}/crt NTS/crt
-pushd %{gh_project}-%{version}
+pushd NTS
# Workaround for https://github.com/awslabs/aws-crt-php/issues/35
sed -e 's/-Werror//' \
-i crt/aws-crt-ffi/crt/*/CMakeLists.txt
-
-%patch0 -p1
popd
%if %{with_zts}
@@ -234,6 +224,9 @@ fi
%changelog
+* Fri Sep 3 2021 Remi Collet <remi@remirepo.net> - 1.0.7-1
+- update to 1.0.7
+
* Wed Sep 01 2021 Remi Collet <remi@remirepo.net> - 1.0.4-2
- rebuild for 8.1.0RC1