From 27a1303c7f72b767a6bda6a2df4b76e2dcec5ade Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Sep 2022 15:56:13 +0200 Subject: add upstream patch for test suite with PHP 8.2 --- php-pecl-yaml.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'php-pecl-yaml.spec') 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 - 2.2.2-3 +- add upstream patch for test suite with PHP 8.2 + * Tue Feb 22 2022 Remi Collet - 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 -- cgit