summaryrefslogtreecommitdiffstats
path: root/php-pecl-ion.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-ion.spec')
-rw-r--r--php-pecl-ion.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/php-pecl-ion.spec b/php-pecl-ion.spec
index 5e0f051..a915b28 100644
--- a/php-pecl-ion.spec
+++ b/php-pecl-ion.spec
@@ -1,8 +1,8 @@
# remirepo spec file for php-pecl-ion
#
-# Copyright (c) 2022-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2022-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -37,7 +37,7 @@
Summary: Amazon ION support
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD-2-Clause
URL: https://pecl.php.net/package/%{pecl_name}
@@ -46,6 +46,7 @@ Source1: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
Patch0: %{pecl_name}-php82.patch
Patch1: %{pecl_name}-php84.patch
+Patch2: %{pecl_name}-bash53.patch
BuildRequires: make
BuildRequires: cmake >= 3.6
@@ -83,6 +84,7 @@ sed -e 's/role="test"/role="src"/' \
cd %{sources}
%patch -P0 -p1 -b .php82
%patch -P1 -p1 -b .php84
+%patch -P2 -p1 -b .bash53
# use bundled library
ln -s ../%{gh_project}-%{gh_commit} ion-c
@@ -199,6 +201,11 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
%changelog
+* Wed Sep 3 2025 Remi Collet <remi@remirepo.net> - 0.2.1-7
+- re-license spec file to CECILL-2.1
+- add patch for bash 5.3.0 from
+ https://github.com/awesomized/ext-ion/pull/12
+
* Wed Nov 20 2024 Remi Collet <remi@remirepo.net> - 0.2.1-6
- fix previous patch to fix PHP < 8.4 builds