forked from pool/python-lxml
Accepting request 674867 from home:jayvdb:coala:python3-bears
- Update from v4.2.5 to v4.3.1 - Remove no longer needed 0001-Make-test-more-resilient-against-changes-in-latest-l.patch OBS-URL: https://build.opensuse.org/request/show/674867 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=117
This commit is contained in:
committed by
Git OBS Bridge
parent
e421144eec
commit
b4b89ea844
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-lxml
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define lxml_version 4.3
|
||||
%define lxml_patch_version 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-lxml
|
||||
Version: 4.2.5
|
||||
Version: %{lxml_version}.%{lxml_patch_version}
|
||||
Release: 0
|
||||
Summary: Pythonic XML processing library
|
||||
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Url: http://lxml.de/
|
||||
Source: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
|
||||
Source1: http://lxml.de/lxmldoc-%{version}.pdf
|
||||
Patch0: 0001-Make-test-more-resilient-against-changes-in-latest-l.patch
|
||||
Source1: https://lxml.de/%{lxml_version}/lxmldoc-%{lxml_version}.0.pdf
|
||||
BuildRequires: %{python_module Cython >= 0.26.1}
|
||||
BuildRequires: %{python_module cssselect >= 0.9.1}
|
||||
BuildRequires: %{python_module setuptools >= 18.0.1}
|
||||
@@ -71,7 +72,6 @@ This package contains header files needed to use lxml's C API.
|
||||
|
||||
%prep
|
||||
%setup -q -n lxml-%{version}
|
||||
%patch0 -p1
|
||||
cp %{SOURCE1} .
|
||||
|
||||
# remove generated files
|
||||
@@ -116,6 +116,6 @@ make %{?_smp_mflags} test3
|
||||
%files %{python_files doc}
|
||||
%license LICENSES.txt
|
||||
%doc doc/html
|
||||
%doc lxmldoc-%{version}.pdf
|
||||
%doc lxmldoc-*.pdf
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user