diff --git a/python-pillow.spec b/python-pillow.spec index aeb6244cdfc9e0fde2dcfaaee69bccc92be168a8..100ff2ed898a3a02d52102308396c96e6ac52725 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