From 275213246b1839d0bcfb0681645b3594aab6405f Mon Sep 17 00:00:00 2001 From: shirely16 Date: Mon, 21 Jun 2021 11:17:51 +0800 Subject: [PATCH] in the check section,using the cp -a instead of install (cherry picked from commit 61f662cfdc66364a7139f5f61520f8ccaa2fb1fb) --- python-pillow.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index a902dfa..30e2c4c 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -5,7 +5,7 @@ Name: python-pillow Version: 8.1.1 -Release: 3 +Release: 4 Summary: Python image processing library License: MIT URL: http://python-pillow.github.io/ @@ -118,7 +118,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 @@ -156,6 +156,9 @@ popd %{python3_sitearch}/PIL/__pycache__/ImageQt* %changelog +* Mon Jun 21 2021 hanhui - 8.1.1-4 +- DESC: in the check section,using the cp -a instead of install + * Mon Jun 15 2021 hanhui - 8.1.1-3 - Type:bugfix - CVE:CVE-2021-25287、CVE-2021-25288、CVE-2021-28675、CVE-2021-28676、CVE-2021-28677、CVE-2021-28678 -- Gitee