Update to 4.4.1
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
d732eb2898
commit
9f539bef55
3 changed files with 11 additions and 8 deletions
|
|
@ -1,8 +1,8 @@
|
|||
%global modname lxml
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 4.4.0
|
||||
Release: 2%{?dist}
|
||||
Version: 4.4.1
|
||||
Release: 1%{?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)
|
||||
|
|
@ -53,16 +52,16 @@ Python 3 version.
|
|||
%prep
|
||||
%autosetup -n %{modname}-%{version}
|
||||
# Remove pregenerated Cython C sources
|
||||
find -type f -name '*.c' -print -delete
|
||||
# TODO: re-enable after dropping py2
|
||||
#find -type f -name '*.c' -print -delete
|
||||
|
||||
%build
|
||||
export WITH_CYTHON=true
|
||||
%py2_build
|
||||
%py3_build
|
||||
env WITH_CYTHON=true %py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
env WITH_CYTHON=true %py3_install
|
||||
|
||||
%check
|
||||
%{__python2} setup.py test
|
||||
|
|
@ -81,6 +80,9 @@ export WITH_CYTHON=true
|
|||
%{python3_sitearch}/%{modname}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.1-1
|
||||
- Update to 4.4.1
|
||||
|
||||
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-2
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue