Accepting request 1045710 from home:Simmphonie:branches:devel:languages:python
- update to version 4.9.2 * Bugs fixed + CVE-2022-2309: A Bug in libxml2 2.9.1[0-4] could let namespace declarations from a failed parser run leak into later parser runs. This bug was worked around in lxml and resolved in libxml2 2.10.0. https://gitlab.gnome.org/GNOME/libxml2/-/issues/378 * LP#1981760: ``Element.attrib`` now registers as ``collections.abc.MutableMapping``. * lxml now has a static build setup for macOS on ARM64 machines (not used for building wheels). Patch by Quentin Leffray. OBS-URL: https://build.opensuse.org/request/show/1045710 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=167
This commit is contained in:
parent
c0fd0bd8c9
commit
74ca921cf2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f
|
||||
size 3377628
|
3
lxml-4.9.2.tar.gz
Normal file
3
lxml-4.9.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2455cfaeb7ac70338b3257f41e21f0724f4b5b0c0e7702da67ee6c3640835b67
|
||||
size 3682202
|
2
python-lxml-rpmlintrc
Normal file
2
python-lxml-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
addFilter("zero-length")
|
||||
addFilter("no-dependency-on python-base")
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 29 07:46:19 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
|
||||
|
||||
- update to version 4.9.2
|
||||
* Bugs fixed
|
||||
+ CVE-2022-2309: A Bug in libxml2 2.9.1[0-4] could let namespace declarations
|
||||
from a failed parser run leak into later parser runs. This bug was worked around
|
||||
in lxml and resolved in libxml2 2.10.0.
|
||||
https://gitlab.gnome.org/GNOME/libxml2/-/issues/378
|
||||
* LP#1981760: ``Element.attrib`` now registers as ``collections.abc.MutableMapping``.
|
||||
* lxml now has a static build setup for macOS on ARM64 machines (not used for building wheels).
|
||||
Patch by Quentin Leffray.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 11:33:55 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -16,9 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-lxml
|
||||
Version: 4.9.1
|
||||
Version: 4.9.2
|
||||
Release: 0
|
||||
Summary: Pythonic XML processing library
|
||||
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||
@ -32,7 +31,7 @@ BuildRequires: %{python_module cssselect >= 0.9.1}
|
||||
BuildRequires: %{python_module setuptools >= 18.0.1}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libxml2-devel >= 2.10.2
|
||||
BuildRequires: libxslt-devel >= 1.1.23
|
||||
BuildRequires: libxslt-devel >= 1.1.27
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-cssselect >= 0.9.1
|
||||
%python_subpackages
|
||||
@ -59,7 +58,6 @@ This package contains documentation for lxml (HTML and PDF).
|
||||
%package devel
|
||||
Summary: Development files for python-lxml
|
||||
Group: Development/Libraries/Python
|
||||
BuildRequires: %{python_module base}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
@ -89,15 +87,21 @@ export CFLAGS="%{optflags}"
|
||||
export LANG=en_US.UTF-8
|
||||
export PYTHONUNBUFFERED=x
|
||||
%if 0%{?have_python2}
|
||||
%{python_expand # define python version for test:
|
||||
export PYTHON="$python"
|
||||
%make_build test
|
||||
}
|
||||
%endif
|
||||
%if 0%{?have_python3}
|
||||
%{python_expand # define python version for test:
|
||||
export PYTHON3="$python"
|
||||
%make_build test3
|
||||
}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}
|
||||
%python_expand %fdupes %{buildroot}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSES.txt
|
||||
|
Loading…
Reference in New Issue
Block a user