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.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-ion.spec b/php-pecl-ion.spec
index ed142d4..0df27b2 100644
--- a/php-pecl-ion.spec
+++ b/php-pecl-ion.spec
@@ -37,13 +37,15 @@
Summary: Amazon ION support
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
Source1: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{gh_version}-%{gh_short}.tar.gz
+Patch0: %{pecl_name}-php82.patch
+
BuildRequires: make
%if 0%{?rhel} == 7
BuildRequires: cmake3 >= 3.6
@@ -89,6 +91,8 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
+%patch0 -p1 -b .php82
+
# use bundled library
ln -s ../%{gh_project}-%{gh_commit} ion-c
@@ -223,6 +227,9 @@ fi
%changelog
+* Fri Jun 17 2022 Remi Collet <remi@remirepo.net> - 0.2.1-2
+- add upstream patch for PHP 8.2
+
* Tue May 31 2022 Remi Collet <remi@remirepo.net> - 0.2.1-1
- update to 0.2.1