delete python2 dependencies

This commit is contained in:
zhouhaibo055 2020-07-17 09:20:18 +08:00
parent 8c72aec1a8
commit dde47a3f5d

View File

@ -17,16 +17,6 @@ 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.
#%%package -n python2-html5lib
#Summary: python2 package for html5lib
#BuildRequires: python2-devel python2-setuptools python2-mock python2-pytest python2-six
#BuildRequires: python2-webencodings python2-chardet python2-genshi python2-lxml
#%%{?python_provide:%python_provide python2-html5lib}
#%%description -n python2-html5lib
#python2 package for html5lib.
%package -n python3-html5lib
Summary: python3 package for html5lib
BuildRequires: python3-devel python3-setuptools python3-mock python3-pytest python3-pytest-expect
@ -42,18 +32,11 @@ python3 package for html5lib.
%autosetup -n html5lib-python-%{version} -p1
%build
#%%py2_build
%py3_build
%install
#%%py2_install
%py3_install
#%files -n python2-html5lib
#%defattr(-,root,root)
#%license LICENSE
#%{python2_sitelib}/*
%files -n python3-html5lib
%defattr(-,root,root)
%license LICENSE