From 757a6ea2b8ffd32230d1c432bd2dc1cfd360e0ba Mon Sep 17 00:00:00 2001 From: shirely16 Date: Mon, 21 Jun 2021 11:14:52 +0800 Subject: [PATCH] in the check section,using the cp -a instead of install --- python-pillow.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-pillow.spec b/python-pillow.spec index 0280277..8d2eb23 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,14 +151,14 @@ 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 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 @@ -187,6 +187,9 @@ popd %doc docs/_build_py3/html %changelog +* Mon Jun 21 2021 hanhui - 5.3.0-15 +- DESC: in the check section,using the cp -a instead of install + * Thu Apr 1 2021 yanglu - 5.3.0-14 - Type:cves - ID:CVE-2021-25290 CVE-2021-25292 CVE-2021-25293 -- Gitee