Drop build dependency on python2-Cython

This commit is contained in:
Miro Hrončok 2019-08-06 12:23:15 +02:00
commit 57b3217ed8

View file

@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 4.4.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
License: BSD
@ -26,7 +26,6 @@ home page < or see our bug tracker at case you want to use the current ...
Summary: %{summary}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-Cython
Suggests: python%{python2_version}dist(cssselect) >= 0.7
Suggests: python%{python2_version}dist(html5lib)
Suggests: python%{python2_version}dist(beautifulsoup4)
@ -56,9 +55,8 @@ Python 3 version.
find -type f -name '*.c' -print -delete
%build
export WITH_CYTHON=true
WITH_CYTHON=true %py3_build
%py2_build
%py3_build
%install
%py2_install
@ -81,6 +79,9 @@ export WITH_CYTHON=true
%{python3_sitearch}/%{modname}-*.egg-info/
%changelog
* Tue Aug 06 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-2
- Drop build dependency on python2-Cython
* Sat Aug 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.0-1
- Update to 4.4.0