diff --git a/python-pillow.spec b/python-pillow.spec index 028027728181769c32d52b9bce0a569a60eec85c..05244401b219f71f0c410bca01ea6cb822070ed6 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -5,7 +5,7 @@ Name: python-pillow Version: 5.3.0 -Release: 14 +Release: 15 Summary: Python image processing library License: MIT URL: http://python-pillow.github.io/ @@ -36,7 +36,7 @@ Patch6005: backport-CVE-2021-25292.patch Patch6006: backport-CVE-2021-25293.patch BuildRequires: freetype-devel ghostscript lcms2-devel libimagequant-devel libjpeg-devel -BuildRequires: libtiff-devel libwebp-devel openjpeg2-devel tk-devel zlib-devel +BuildRequires: libtiff-devel libwebp-devel openjpeg2-devel tk-devel zlib-devel gcc BuildRequires: python2-cffi python2-devel python2-numpy python2-olefile python2-setuptools BuildRequires: python2-sphinx python2-sphinx_rtd_theme python2-tkinter BuildRequires: python3-cffi python3-devel python3-numpy python3-olefile @@ -151,7 +151,7 @@ install -m 644 src/libImaging/*.h %{buildroot}/%{py3_incdir}/Imaging %check ln -s $PWD/Images $PWD/build/%py2_libbuilddir/Images cp -R $PWD/Tests $PWD/build/%py2_libbuilddir/Tests -install $PWD/selftest.py $PWD/build/%py2_libbuilddir/selftest.py +cp -a $PWD/selftest.py $PWD/build/%py2_libbuilddir/selftest.py pushd build/%py2_libbuilddir PYTHONPATH=$PWD %{__python2} selftest.py popd @@ -187,6 +187,9 @@ popd %doc docs/_build_py3/html %changelog +* Tue Jun 8 2021 hanhui - 5.3.0-15 +- add gcc buildRequires,install modified into cp -a + * Thu Apr 1 2021 yanglu - 5.3.0-14 - Type:cves - ID:CVE-2021-25290 CVE-2021-25292 CVE-2021-25293