diff options
author | Remi Collet <remi@remirepo.net> | 2025-09-27 15:48:05 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-09-27 15:48:05 +0200 |
commit | d5c6fd8a7839a1b8b47d0cde5ce855a941e8e286 (patch) | |
tree | 067359ca7f7d710d8f1c701109c6cff1595dca1a /php-pecl-yaml.spec | |
parent | c613375cb2362df741075af59579cb598777d7a9 (diff) |
https://github.com/php/pecl-file_formats-yaml/pull/95
Diffstat (limited to 'php-pecl-yaml.spec')
-rw-r--r-- | php-pecl-yaml.spec | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec index 4056962..c3c9b91 100644 --- a/php-pecl-yaml.spec +++ b/php-pecl-yaml.spec @@ -25,12 +25,14 @@ Summary: PHP Bindings for yaml Name: %{?scl_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: https://patch-diff.githubusercontent.com/raw/php/pecl-file_formats-yaml/pull/95.patch + ExcludeArch: %{ix86} BuildRequires: make @@ -66,6 +68,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} +%patch -P0 -p1 + # Check upstream version (often broken) extver=$(sed -n '/#define PHP_YAML_VERSION/{s/.* "//;s/".*$//;p}' php_yaml.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then @@ -154,10 +158,6 @@ done %check cd %{sources} -%if "%{php_version}" > "8.5" -# unexpected NAN value was coerced to string -rm tests/bug_79866.phpt -%endif : Minimal load test for NTS extension %{__php} --no-php-ini \ @@ -201,6 +201,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Sat Sep 27 2025 Remi Collet <remi@remirepo.net> - 2.2.5-3 +- add patch for PHP 8.5.0RC1 from + https://github.com/php/pecl-file_formats-yaml/pull/95 + * Thu Sep 25 2025 Remi Collet <remi@remirepo.net> - 2.2.5-2 - rebuild for PHP 8.5.0RC1 - ignore 1 test with PHP 8.5 (NaN) |