|
|
@ -2,7 +2,7 @@
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Name: python-%{srcname}
|
|
|
|
Summary: A python based HTML parser/tokenizer
|
|
|
|
Summary: A python based HTML parser/tokenizer
|
|
|
|
Version: 1.1
|
|
|
|
Version: 1.1
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/html5lib/html5lib-python
|
|
|
|
URL: https://github.com/html5lib/html5lib-python
|
|
|
@ -26,7 +26,6 @@ BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
|
|
# Test deps
|
|
|
|
# Test deps
|
|
|
|
BuildRequires: python3dist(mock)
|
|
|
|
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
BuildRequires: python3dist(pytest)
|
|
|
|
BuildRequires: python3dist(pytest-expect)
|
|
|
|
BuildRequires: python3dist(pytest-expect)
|
|
|
|
BuildRequires: python3dist(six)
|
|
|
|
BuildRequires: python3dist(six)
|
|
|
@ -47,6 +46,10 @@ specification for maximum compatibility with major desktop web browsers.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
|
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use standard library unittest.mock instead of 3rd party mock
|
|
|
|
|
|
|
|
# From https://github.com/html5lib/html5lib-python/pull/536
|
|
|
|
|
|
|
|
sed -i 's/from mock import/from unittest.mock import/' html5lib/tests/test_meta.py
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
@ -67,6 +70,9 @@ specification for maximum compatibility with major desktop web browsers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 31 2022 Miro Hrončok <mhroncok@redhat.com> - 1:1.1-8
|
|
|
|
|
|
|
|
- Use standard library unittest.mock instead of 3rd party mock
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-7
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|