Subpackage python2-lxml has been removed
This commit is contained in:
parent
960a9c1ff7
commit
d39bc4a9d1
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: python-%{modname}
|
||||
Version: 4.4.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
|
||||
|
||||
License: BSD
|
||||
|
@ -22,19 +22,6 @@ home page < or see our bug tracker at case you want to use the current ...
|
|||
|
||||
%description %{_description}
|
||||
|
||||
%package -n python2-%{modname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
Suggests: python%{python2_version}dist(cssselect) >= 0.7
|
||||
Suggests: python%{python2_version}dist(html5lib)
|
||||
Suggests: python%{python2_version}dist(beautifulsoup4)
|
||||
%{?python_provide:%python_provide python2-%{modname}}
|
||||
|
||||
%description -n python2-%{modname} %{_description}
|
||||
|
||||
Python 2 version.
|
||||
|
||||
%package -n python3-%{modname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
|
@ -56,22 +43,13 @@ find -type f -name '*.c' -print -delete
|
|||
|
||||
%build
|
||||
env WITH_CYTHON=true %py3_build
|
||||
%py2_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files -n python2-%{modname}
|
||||
%license doc/licenses/ZopePublicLicense.txt LICENSES.txt
|
||||
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
|
||||
%{python2_sitearch}/%{modname}/
|
||||
%{python2_sitearch}/%{modname}-*.egg-info/
|
||||
|
||||
%files -n python3-%{modname}
|
||||
%license doc/licenses/ZopePublicLicense.txt LICENSES.txt
|
||||
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
|
||||
|
@ -79,6 +57,10 @@ env WITH_CYTHON=true %py3_build
|
|||
%{python3_sitearch}/%{modname}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Wed Nov 20 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.1-3
|
||||
- Subpackage python2-lxml has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.1-2
|
||||
- Generate C files using py3 Cython
|
||||
|
||||
|
|
Loading…
Reference in New Issue