From bdb33e6d2755d7ef79703eb08abd14129b9778ba Mon Sep 17 00:00:00 2001 From: shirely16 Date: Tue, 8 Jun 2021 14:24:43 +0800 Subject: [PATCH 1/2] add gcc buildRequires,install modified into cp -a --- python-pillow.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index 0280277..a204413 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/ @@ -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 -- Gitee From 68ccc5146c5d50b086e496d1582884ef426b538c Mon Sep 17 00:00:00 2001 From: LemmyHuang Date: Wed, 9 Jun 2021 11:34:18 +0800 Subject: [PATCH 2/2] add gcc buildRequires,install modified into cp -a --- python-pillow.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-pillow.spec b/python-pillow.spec index a204413..0524440 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -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 -- Gitee