]> git.pld-linux.org Git - packages/python3-pillow.git/commitdiff
- updated to 8.4.0: auto/th/python3-pillow-8.4.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 17 Mar 2022 19:10:55 +0000 (20:10 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 17 Mar 2022 19:10:55 +0000 (20:10 +0100)
  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

index d936fb2193b3fff9868bcc52b798cfecd9f51c40..8643d6b2b7f65f734f2080b56b6d42471d7e2602 100644 (file)
 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
 
This page took 0.183212 seconds and 4 git commands to generate.