|
|
|
@ -2,37 +2,38 @@
|
|
|
|
|
|
|
|
|
|
Summary: XML and HTML with Python
|
|
|
|
|
Name: python-lxml
|
|
|
|
|
Version: 4.2.4
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Version: 4.8.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# Test suite (and only the test suite) is GPLv2+
|
|
|
|
|
License: BSD and GPLv2+
|
|
|
|
|
URL: https://lxml.de
|
|
|
|
|
Vendor: Microsoft Corporation
|
|
|
|
|
Distribution: Mariner
|
|
|
|
|
|
|
|
|
|
# Source0: https://files.pythonhosted.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/lxml-%{version}.tar.gz
|
|
|
|
|
Source0: lxml-%{version}.tar.gz
|
|
|
|
|
Patch0: lxml-make-check-fix.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
URL: https://lxml.de
|
|
|
|
|
Source0: https://github.com/lxml/lxml/releases/download/lxml-%{version}/lxml-%{version}.tar.gz
|
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: python3-Cython
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API.
|
|
|
|
|
The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt.
|
|
|
|
|
|
|
|
|
|
%package -n python3-lxml
|
|
|
|
|
Summary: python-lxml
|
|
|
|
|
Requires: libxslt
|
|
|
|
|
Requires: libxml2
|
|
|
|
|
Requires: python3
|
|
|
|
|
|
|
|
|
|
%description -n python3-lxml
|
|
|
|
|
Python 3 version.
|
|
|
|
|
The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt.
|
|
|
|
|
It is unique in that it combines the speed and XML feature completeness of these libraries
|
|
|
|
|
with the simplicity of a native Python API, mostly compatible but superior to the well-known
|
|
|
|
|
ElementTree API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n lxml-%{version}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%autosetup -n lxml-%{version}
|
|
|
|
|
find -type f -name "*.c" -delete -print
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -52,6 +53,10 @@ make test
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Apr 20 2022 Olivia Crain <oliviacrain@microsoft.com> - 4.8.0-1
|
|
|
|
|
- Upgrade to latest upstream version
|
|
|
|
|
- Fixes CVE-2018-19787, CVE-2020-27783, CVE-2021-28957, CVE-2021-43818
|
|
|
|
|
|
|
|
|
|
* Thu Apr 14 2022 Daniel McIlvaney <damcilva@microsoft.com> - 4.2.4-11
|
|
|
|
|
- Disable the debuginfo package here since it is not being built in the toolchain
|
|
|
|
|
|
|
|
|
@ -64,33 +69,46 @@ make test
|
|
|
|
|
* Fri Dec 03 2021 Thomas Crain <thcrain@microsoft.com> - 4.2.4-8
|
|
|
|
|
- Regenerate C sources at build-time to fix build break with Python 3.9
|
|
|
|
|
|
|
|
|
|
* Wed Aug 26 2020 Thomas Crain <thcrain@microsoft.com> 4.2.4-7
|
|
|
|
|
- Remove python2 support.
|
|
|
|
|
- License verified.
|
|
|
|
|
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> 4.2.4-6
|
|
|
|
|
- Added %%license line automatically
|
|
|
|
|
* Wed Apr 29 2020 Emre Girgin <mrgirgin@microsoft.com> 4.2.4-5
|
|
|
|
|
- Renaming cython to Cython
|
|
|
|
|
* Mon Apr 13 2020 Nick Samson <nisamson@microsoft.com> 4.2.4-4
|
|
|
|
|
- Updated Source0 and URL, removed %%define sha1, License verified
|
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 4.2.4-3
|
|
|
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
|
|
|
* Wed Nov 28 2018 Tapas Kundu <tkundu@vmware.com> 4.2.4-2
|
|
|
|
|
- Fix make check
|
|
|
|
|
- moved build requires from subpackage
|
|
|
|
|
* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> 4.2.4-1
|
|
|
|
|
- Update to version 4.2.4
|
|
|
|
|
* Mon Aug 07 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.7.3-3
|
|
|
|
|
- set LC_ALL and LANGUAGE for the tests to pass
|
|
|
|
|
* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 3.7.3-2
|
|
|
|
|
- Use python2_sitelib
|
|
|
|
|
* Mon Apr 03 2017 Sarah Choi <sarahc@vmware.com> 3.7.3-1
|
|
|
|
|
- Update to 3.7.3
|
|
|
|
|
* Wed Feb 08 2017 Xiaolin Li <xiaolinl@vmware.com> 3.5.0b1-4
|
|
|
|
|
- Added python3 site-packages.
|
|
|
|
|
* Tue Oct 04 2016 ChangLee <changlee@vmware.com> 3.5.0b1-3
|
|
|
|
|
- Modified %check
|
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.5.0b1-2
|
|
|
|
|
- GA - Bump release of all rpms
|
|
|
|
|
* Wed Oct 28 2015 Divya Thaluru <dthaluru@vmware.com> 3.5.0b1-1
|
|
|
|
|
- Initial build.
|
|
|
|
|
* Wed Aug 26 2020 Thomas Crain <thcrain@microsoft.com> - 4.2.4-7
|
|
|
|
|
- Remove python2 support.
|
|
|
|
|
- License verified.
|
|
|
|
|
|
|
|
|
|
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 4.2.4-6
|
|
|
|
|
- Added %%license line automatically
|
|
|
|
|
|
|
|
|
|
* Wed Apr 29 2020 Emre Girgin <mrgirgin@microsoft.com> - 4.2.4-5
|
|
|
|
|
- Renaming cython to Cython
|
|
|
|
|
|
|
|
|
|
* Mon Apr 13 2020 Nick Samson <nisamson@microsoft.com> - 4.2.4-4
|
|
|
|
|
- Updated Source0 and URL, removed %%define sha1, License verified
|
|
|
|
|
|
|
|
|
|
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 4.2.4-3
|
|
|
|
|
- Initial CBL-Mariner import from Photon (license: Apache2).
|
|
|
|
|
|
|
|
|
|
* Wed Nov 28 2018 Tapas Kundu <tkundu@vmware.com> - 4.2.4-2
|
|
|
|
|
- Fix make check
|
|
|
|
|
- moved build requires from subpackage
|
|
|
|
|
|
|
|
|
|
* Sun Sep 09 2018 Tapas Kundu <tkundu@vmware.com> - 4.2.4-1
|
|
|
|
|
- Update to version 4.2.4
|
|
|
|
|
|
|
|
|
|
* Mon Aug 07 2017 Dheeraj Shetty <dheerajs@vmware.com> - 3.7.3-3
|
|
|
|
|
- set LC_ALL and LANGUAGE for the tests to pass
|
|
|
|
|
|
|
|
|
|
* Thu Jun 01 2017 Dheeraj Shetty <dheerajs@vmware.com> - 3.7.3-2
|
|
|
|
|
- Use python2_sitelib
|
|
|
|
|
|
|
|
|
|
* Mon Apr 03 2017 Sarah Choi <sarahc@vmware.com> - 3.7.3-1
|
|
|
|
|
- Update to 3.7.3
|
|
|
|
|
|
|
|
|
|
* Wed Feb 08 2017 Xiaolin Li <xiaolinl@vmware.com> - 3.5.0b1-4
|
|
|
|
|
- Added python3 site-packages.
|
|
|
|
|
|
|
|
|
|
* Tue Oct 04 2016 ChangLee <changlee@vmware.com> - 3.5.0b1-3
|
|
|
|
|
- Modified %check
|
|
|
|
|
|
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 3.5.0b1-2
|
|
|
|
|
- GA - Bump release of all rpms
|
|
|
|
|
|
|
|
|
|
* Wed Oct 28 2015 Divya Thaluru <dthaluru@vmware.com> - 3.5.0b1-1
|
|
|
|
|
- Initial build.
|
|
|
|
|