summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-yaml.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec
index 0bcda8e..ed6c0b0 100644
--- a/php-pecl-yaml.spec
+++ b/php-pecl-yaml.spec
@@ -22,7 +22,7 @@
Summary: PHP Bindings for yaml
Name: %{?sub_prefix}php-pecl-yaml
Version: 2.1.0
-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
@@ -185,6 +185,10 @@ done
%check
+%if "%{php_version}" > "8.0"
+# warnings promoted to exception
+rm ?TS/tests/yaml_parse_file_002.phpt
+%endif
cd NTS
: Minimal load test for NTS extension
%{__php} --no-php-ini \
@@ -250,6 +254,9 @@ fi
%changelog
+* Wed Aug 5 2020 Remi Collet <remi@remirepo.net> - 2.1.0-3
+- rebuild for 8.0.0beta1
+
* Wed Jul 22 2020 Remi Collet <remi@remirepo.net> - 2.1.0-2
- rebuild for 8.0.0alpha3 using patch from
https://github.com/php/pecl-file_formats-yaml/pull/53