Compare commits

...

3 Commits
rawhide ... f34

Author SHA1 Message Date
Charalampos Stratakis 6a88b90732 Update to 4.6.5
Fixes CVE-2021-43818

Resolves: rhbz#2032572
2022-01-06 16:45:23 +01:00
Miro Hrončok 907f41ea49 Actually run the tests during build
Fixes https://bugzilla.redhat.com/2026941
2022-01-06 16:44:05 +01:00
Charalampos Stratakis 60154772b4 Update the license information 2022-01-06 16:42:49 +01:00
3 changed files with 26 additions and 5 deletions

1
.gitignore vendored
View File

@ -56,3 +56,4 @@ lxml-2.2.7.tar.gz.asc
/lxml-4.5.1.tgz
/lxml-4.6.2.tar.gz
/lxml-4.6.3.tar.gz
/lxml-4.6.5.tar.gz

View File

@ -1,11 +1,15 @@
%global modname lxml
Name: python-%{modname}
Version: 4.6.3
Version: 4.6.5
Release: 1%{?dist}
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
License: BSD
# The lxml project is licensed under BSD
# Some code is derived from ElementTree and cElementTree
# thus using the MIT-like elementtree license
# .xsl schematron files are under the MIT and zlib license
License: BSD and MIT and zlib
URL: https://github.com/lxml/lxml
Source0: %{pypi_source %{modname}}
@ -48,15 +52,31 @@ env WITH_CYTHON=true %py3_build
%py3_install
%check
%{__python3} setup.py test
# The tests assume inplace build, so we copy the built library to source-dir.
# If not done that, Python can either import the tests or the extension modules, but not both.
cp -a build/lib.%{python3_platform}-%{python3_version}/* src/
# The options are: verbose, unit, functional
%{python3} test.py -vuf
%files -n python3-%{modname}
%license doc/licenses/ZopePublicLicense.txt LICENSES.txt
%license LICENSES.txt doc/licenses/BSD.txt doc/licenses/elementtree.txt
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
%{python3_sitearch}/%{modname}/
%{python3_sitearch}/%{modname}-*.egg-info/
%changelog
* Thu Jan 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.6.5-1
- Update to 4.6.5
- Fixes CVE-2021-43818
- Resolves: rhbz#2032572
* Fri Nov 26 2021 Miro Hrončok <mhroncok@redhat.com> - 4.6.3-3
- Run the tests during build
- Resolves: rhbz#2026941
* Thu Jun 03 2021 Charalampos Stratakis <cstratak@redhat.com> - 4.6.3-2
- Update the license information
* Thu May 20 2021 Charalampos Stratakis <cstratak@redhat.com> - 4.6.3-1
- Update to 4.6.3
- Fixes CVE-2021-28957

View File

@ -1 +1 @@
SHA512 (lxml-4.6.3.tar.gz) = 57489c42257afd00376886d6873c97088778afa8009fa644e2660722d134f346030218c24be6329ee828f73f5164cdd1dad583c17addbdf3e0c84e4d8ab9e176
SHA512 (lxml-4.6.5.tar.gz) = b9d2398b7c50539add66a82635fc869694d0a9facf17fc0f4182f2449f6a226e19007b48036f954637651e3319d2f877f38d667bcd414a6c6b72850b710a306b