From 7cb5cba16b6ad424b08312809be939ae4a9d9991 Mon Sep 17 00:00:00 2001 From: shirely16 Date: Tue, 8 Jun 2021 10:28:15 +0800 Subject: [PATCH] add gcc buildRequires,install modified into cp -a --- python-pillow.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index aeb6244..100ff2e 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -5,7 +5,7 @@ Name: python-pillow Version: 8.1.1 -Release: 2 +Release: 3 Summary: Python image processing library License: MIT URL: http://python-pillow.github.io/ @@ -16,7 +16,7 @@ Patch1: python-pillow_sphinx-issues.patch Patch6000: backport-CVE-2021-27921_CVE-2021-27922_CVE-2021-27923.patch -BuildRequires: freetype-devel ghostscript lcms2-devel libimagequant-devel libjpeg-devel libraqm-devel libtiff-devel +BuildRequires: freetype-devel ghostscript lcms2-devel libimagequant-devel libjpeg-devel libraqm-devel libtiff-devel gcc BuildRequires: libwebp-devel openjpeg2-devel tk-devel zlib-devel python3-cffi python3-devel python3-numpy python3-olefile BuildRequires: python3-qt5 python3-setuptools python3-tkinter %if 0%{?with_docs} @@ -108,7 +108,7 @@ install -m 644 src/libImaging/*.h %{buildroot}/%{py3_incdir}/Imaging %check ln -s $PWD/Images $PWD/build/%py3_libbuilddir/Images cp -R $PWD/Tests $PWD/build/%py3_libbuilddir/Tests -install $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py +cp -a $PWD/selftest.py $PWD/build/%py3_libbuilddir/selftest.py pushd build/%py3_libbuilddir PYTHONPATH=$PWD %{__python3} selftest.py popd @@ -146,6 +146,9 @@ popd %{python3_sitearch}/PIL/__pycache__/ImageQt* %changelog +* Tue Jun 8 2021 hanhui - 8.1.1-3 +- add gcc buildRequires,install modified into cp -a + * Sat Mar 13 2021 wangye - 8.1.1-2 - Type:CVE - CVE:CVE-2021-27921 CVE-2021-27922 CVE-2021-27923 -- Gitee