From 059902b361225a8367ea4a41f091c1c7dbb579a7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Aug 2019 14:32:48 +0200 Subject: [PATCH] Update to 4.4.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + python-lxml.spec | 26 ++++++++++++++------------ sources | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 76cfcdc..b24668e 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ lxml-2.2.7.tar.gz.asc /lxml-4.2.3.tgz /lxml-4.2.4.tgz /lxml-4.2.5.tgz +/lxml-4.4.0.tgz diff --git a/python-lxml.spec b/python-lxml.spec index 26b7301..53d56e6 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -1,13 +1,13 @@ %global modname lxml Name: python-%{modname} -Version: 4.2.5 -Release: 3%{?dist} +Version: 4.4.0 +Release: 1%{?dist} Summary: XML processing library combining libxml2/libxslt with the ElementTree API License: BSD -URL: http://lxml.de -Source0: http://lxml.de/files/%{modname}-%{version}.tgz +URL: https://github.com/lxml/lxml +Source0: https://lxml.de/files/%{modname}-%{version}.tgz BuildRequires: gcc BuildRequires: libxml2-devel @@ -27,9 +27,9 @@ Summary: %{summary} BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: python2-Cython -Recommends: python2-cssselect -Recommends: python2-html5lib -Recommends: python2-beautifulsoup4 +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} @@ -41,9 +41,9 @@ Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-Cython -Recommends: python3-cssselect -Recommends: python3-html5lib -Recommends: python3-beautifulsoup4 +Suggests: python%{python3_version}dist(cssselect) >= 0.7 +Suggests: python%{python3_version}dist(html5lib) +Suggests: python%{python3_version}dist(beautifulsoup4) %{?python_provide:%python_provide python3-%{modname}} %description -n python3-%{modname} %{_description} @@ -52,9 +52,8 @@ Python 3 version. %prep %autosetup -n %{modname}-%{version} - # Remove pregenerated Cython C sources -find -name '*.c' | xargs rm +find -type f -name '*.c' -print -delete %build export WITH_CYTHON=true @@ -82,6 +81,9 @@ export WITH_CYTHON=true %{python3_sitearch}/%{modname}-*.egg-info/ %changelog +* Sat Aug 03 2019 Igor Gnatenko - 4.4.0-1 +- Update to 4.4.0 + * Fri Jul 26 2019 Fedora Release Engineering - 4.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 78cf9a8..88f6b9e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lxml-4.2.5.tgz) = 4cf336d3e1471e8a26492760a143881517d12eb1c2dad82f8786540471bfabd68f8c795d97b7362166418c2be3c7996816638fdbd5a594536b9981478b90fdfe +SHA512 (lxml-4.4.0.tgz) = 21db932bc0897fec0d8b0d7bc71ff8e8b5d447016691b5d438cb7c835a1dfe5c154da44bbbbde59af35faf11a67055e58160ae810ee75ab0759039396bcf2482