commit
51bf2635a4
@ -1,6 +1,6 @@
|
|||||||
Name: python-html5lib
|
Name: python-html5lib
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 4
|
Release: 5
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: HTML parser based on the WHAT-WG Web Applications 1
|
Summary: HTML parser based on the WHAT-WG Web Applications 1
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -47,20 +47,6 @@ python3 package for html5lib.
|
|||||||
%py2_install
|
%py2_install
|
||||||
%py3_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
|
%files -n python2-html5lib
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -76,6 +62,12 @@ cp html5lib/tests/testdata{_nope,}/encoding/chardet/test_big5.txt
|
|||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-5
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:optimization the spec
|
||||||
|
|
||||||
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-4
|
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-4
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user