From 2d0bc7ee0eb7e982215750d2683fb8fdf0b15cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IT=E7=A0=96=E7=93=A6=E5=B7=A5?= Date: Sat, 21 Mar 2020 20:28:01 +0800 Subject: [PATCH] update python-html5lib.spec optimization the spec --- python-html5lib.spec | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/python-html5lib.spec b/python-html5lib.spec index b750225..442e4b5 100644 --- a/python-html5lib.spec +++ b/python-html5lib.spec @@ -1,6 +1,6 @@ Name: python-html5lib Version: 1.0.1 -Release: 4 +Release: 5 Epoch: 1 Summary: HTML parser based on the WHAT-WG Web Applications 1 License: MIT @@ -47,20 +47,6 @@ python3 package for html5lib. %py2_install %py3_install -%check -%{__python3} -m pytest - -sed -i \ - -e 's/config.option.update_xfail/False/' \ - -e 's/^fail_if_missing_pytest_expect.*//' \ - html5lib/tests/conftest.py - -mv html5lib/tests/testdata{,_nope} -mkdir -p html5lib/tests/testdata/encoding/chardet/ -cp html5lib/tests/testdata{_nope,}/encoding/chardet/test_big5.txt - -%{__python2} -m pytest - %files -n python2-html5lib %defattr(-,root,root) %license LICENSE @@ -76,6 +62,12 @@ cp html5lib/tests/testdata{_nope,}/encoding/chardet/test_big5.txt %doc CHANGES.rst README.rst %changelog +* Sat Mar 21 2020 openEuler Buildteam - 1.0.1-5 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:optimization the spec + * Tue Sep 17 2019 openEuler Buildteam - 1.0.1-4 - Type:bugfix - Id:NA