[packages/python3-pillow] - updated to 8.4.0: fixed in 8.1.1: CVE-2021-25289 CVE-2021-25290 CVE-2021-25291 CVE-2021-25292 CV
qboosh
qboosh at pld-linux.org
Thu Mar 17 20:09:07 CET 2022
commit c15ca139c3146c6497c5527e06bc2e154baa18ed
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Mar 17 20:10:55 2022 +0100
- updated to 8.4.0:
fixed in 8.1.1: CVE-2021-25289 CVE-2021-25290 CVE-2021-25291 CVE-2021-25292 CVE-2021-25293
fixed in 8.1.2: CVE-2021-27921 CVE-2021-27922 CVE-2021-27923
fixed in 8.2.0: CVE-2021-25287 CVE-2021-25288 CVE-2021-28675 CVE-2021-28676 CVE-2021-28677 CVE-2021-28678
fixed in 8.3.0: CVE-2021-34552
fixed in 8.3.2: CVE-2021-23437
python3-pillow.spec | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/python3-pillow.spec b/python3-pillow.spec
index d936fb2..8643d6b 100644
--- a/python3-pillow.spec
+++ b/python3-pillow.spec
@@ -11,14 +11,14 @@
Summary: Python 3 image processing library
Summary(pl.UTF-8): Biblioteka do przetwarzania obrazów dla Pythona 3
Name: python3-%{module}
-Version: 8.1.0
-Release: 3
+Version: 8.4.0
+Release: 1
# License: see http://www.pythonware.com/products/pil/license.htm
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pillow/
Source0: https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz
-# Source0-md5: 9e3ab8e9b30993099ae9fee73ff92276
+# Source0-md5: 7a1eb5a250c7ccbd549a89e16404f09f
Patch0: %{name}-subpackage.patch
Patch1: x32.patch
URL: https://python-pillow.org/
@@ -165,6 +165,8 @@ cd ../..
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTHONPATH=$PWD/build-3/%py3_libbuilddir \
%{__python3} -m pytest Tests -k 'not test_qt_image_qapplication'
+%{__rm} -r build-3/%py3_libbuilddir/Tests
+%{__rm} build-3/%py3_libbuilddir/selftest.py
%endif
%install
@@ -175,13 +177,6 @@ install -d $RPM_BUILD_ROOT%{py3_incdir}/Imaging
cp -p src/libImaging/*.h $RPM_BUILD_ROOT%{py3_incdir}/Imaging
%py3_install
-# Fix non-standard-executable-perm
-chmod 755 $RPM_BUILD_ROOT%{py3_sitedir}/PIL/*.so
-
-%if %{with tests}
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/{Tests,selftest.py,__pycache__/selftest.*}
-%endif
-
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pillow.git/commitdiff/c15ca139c3146c6497c5527e06bc2e154baa18ed
More information about the pld-cvs-commit
mailing list