summaryrefslogtreecommitdiffstats
path: root/php-pecl-yaml.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-09-09 15:56:13 +0200
committerRemi Collet <remi@php.net>2022-09-09 15:56:13 +0200
commit27a1303c7f72b767a6bda6a2df4b76e2dcec5ade (patch)
tree6f34a5c86cb2ec589a7688c798ae69128483c93b /php-pecl-yaml.spec
parent0871797de74230cc2e11488e9f71548d79d9b747 (diff)
add upstream patch for test suite with PHP 8.2
Diffstat (limited to 'php-pecl-yaml.spec')
-rw-r--r--php-pecl-yaml.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec
index 25a47f0..7db8acc 100644
--- a/php-pecl-yaml.spec
+++ b/php-pecl-yaml.spec
@@ -24,13 +24,14 @@
Summary: PHP Bindings for yaml
Name: %{?sub_prefix}php-pecl-yaml
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: MIT
URL: https://pecl.php.net/package/yaml
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
Patch0: %{pecl_name}-pr66.patch
+Patch1: %{pecl_name}-upstream.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -93,6 +94,7 @@ sed -e 's/role="test"/role="src"/' \
cd NTS
%patch0 -p1 -b .pr66
+%patch1 -p1 -b .up
# Check upstream version (often broken)
extver=$(sed -n '/#define PHP_YAML_VERSION/{s/.* "//;s/".*$//;p}' php_yaml.h)
@@ -237,6 +239,9 @@ fi
%changelog
+* Fri Sep 9 2022 Remi Collet <remi@remirepo.net> - 2.2.2-3
+- add upstream patch for test suite with PHP 8.2
+
* Tue Feb 22 2022 Remi Collet <remi@remirepo.net> - 2.2.2-2
- fix gh#65 yaml_parse_url method not working using patch from
https://github.com/php/pecl-file_formats-yaml/pull/66