14
0
forked from pool/python-lxml

Accepting request 749125 from home:dimstar:Factory

- Add lxml-libxml-2.9.10.patch: Fix build against libxml 2.9.10.

Fixes build in Staging:G

OBS-URL: https://build.opensuse.org/request/show/749125
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=131
This commit is contained in:
Tomáš Chvátal
2019-11-17 19:39:02 +00:00
committed by Git OBS Bridge
parent d4d99a8259
commit 42248a018d
3 changed files with 57 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-lxml
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ Group: Development/Languages/Python
URL: https://lxml.de/
Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
Source1: https://lxml.de/lxmldoc-%{version}.pdf
# PATCH-FIX-UPSTREAM lxml-libxml-2.9.10.patch dimstar@opensuse.org -- Fix build against libxml 2.9.10
Patch0: lxml-libxml-2.9.10.patch
BuildRequires: %{python_module Cython >= 0.29.7}
BuildRequires: %{python_module cssselect >= 0.9.1}
BuildRequires: %{python_module setuptools >= 18.0.1}
@@ -71,6 +73,7 @@ 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