delete python2 dependencies
This commit is contained in:
parent
c1199f7d75
commit
f153f0f1c1
@ -1,6 +1,6 @@
|
|||||||
Name: python-html5lib
|
Name: python-html5lib
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 5
|
Release: 6
|
||||||
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
|
||||||
@ -16,14 +16,15 @@ BuildArch: noarch
|
|||||||
Html5lib is a pure-python library for parsing HTML. It is designed to conform
|
Html5lib is a pure-python library for parsing HTML. It is designed to conform
|
||||||
to the WHATWG HTML specification, as is implemented by all major web browsers.
|
to the WHATWG HTML specification, as is implemented by all major web browsers.
|
||||||
|
|
||||||
%package -n python2-html5lib
|
#%%package -n python2-html5lib
|
||||||
Summary: python2 package for html5lib
|
#Summary: python2 package for html5lib
|
||||||
BuildRequires: python2-devel python2-setuptools python2-mock python2-pytest python2-six
|
#BuildRequires: python2-devel python2-setuptools python2-mock python2-pytest python2-six
|
||||||
BuildRequires: python2-webencodings python2-chardet python2-genshi python2-lxml
|
#BuildRequires: python2-webencodings python2-chardet python2-genshi python2-lxml
|
||||||
%{?python_provide:%python_provide python2-html5lib}
|
#%%{?python_provide:%python_provide python2-html5lib}
|
||||||
|
|
||||||
|
#%%description -n python2-html5lib
|
||||||
|
#python2 package for html5lib.
|
||||||
|
|
||||||
%description -n python2-html5lib
|
|
||||||
python2 package for html5lib.
|
|
||||||
|
|
||||||
%package -n python3-html5lib
|
%package -n python3-html5lib
|
||||||
Summary: python3 package for html5lib
|
Summary: python3 package for html5lib
|
||||||
@ -40,17 +41,17 @@ python3 package for html5lib.
|
|||||||
%autosetup -n html5lib-python-%{version} -p1
|
%autosetup -n html5lib-python-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
#%%py2_build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
#%%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-html5lib
|
#%files -n python2-html5lib
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%license LICENSE
|
#%license LICENSE
|
||||||
%{python2_sitelib}/*
|
#%{python2_sitelib}/*
|
||||||
|
|
||||||
%files -n python3-html5lib
|
%files -n python3-html5lib
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -62,6 +63,12 @@ python3 package for html5lib.
|
|||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 15 2020 zhouhaibo <zhouhaibo@huawei.com> - 1.0.1-6
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:delete python2 dependencies
|
||||||
|
|
||||||
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-5
|
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0.1-5
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user