summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-03-14 09:08:49 +0100
committerRemi Collet <remi@php.net>2023-03-14 09:08:49 +0100
commit31370ba18b7b555a4964c36e978e85151968d992 (patch)
treed68c47e57c2a2549041c9979cf33816cd296f9ab
parent84090e993c7cd715c5136e9aae567794c487dab9 (diff)
update to 1.0.10 (devel)
open https://github.com/awslabs/aws-crt-php/issues/93 version stability
-rw-r--r--php-pecl-awscrt.spec26
1 files changed, 11 insertions, 15 deletions
diff --git a/php-pecl-awscrt.spec b/php-pecl-awscrt.spec
index 4897c01..eb4029a 100644
--- a/php-pecl-awscrt.spec
+++ b/php-pecl-awscrt.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-pecl-awscrt
#
-# Copyright (c) 2021-2022 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2021-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -30,9 +30,9 @@
Summary: AWS Common Runtime PHP bindings
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.0.9
+Version: 1.0.10
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
-License: ASL 2.0
+License: Apache-2.0
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
@@ -67,17 +67,6 @@ 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 "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-# Other third party repo stuff
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-%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
AWS Common Runtime provides a set of low level tools as network protocols and
@@ -102,6 +91,9 @@ sed -e 's/role="test"/role="src"/' \
mv %{pecl_name}-%{version} NTS
pushd NTS
+# Parallel build
+sed -e '/(CMAKE_BUILD)/s/$/ --verbose %{?_smp_mflags}/' -i Makefile.frag
+
# Workaround for https://github.com/awslabs/aws-crt-php/issues/35
sed -e 's/-Werror//' \
-i crt/aws-crt-ffi/crt/*/CMakeLists.txt
@@ -224,6 +216,10 @@ fi
%changelog
+* Tue Mar 14 2023 Remi Collet <remi@remirepo.net> - 1.0.10-1
+- update to 1.0.10 (devel)
+- open https://github.com/awslabs/aws-crt-php/issues/93 version stability
+
* Tue Feb 15 2022 Remi Collet <remi@remirepo.net> - 1.0.9-1
- update to 1.0.9 (devel, no change)