diff --git a/python-pillow.spec b/python-pillow.spec index 028027728181769c32d52b9bce0a569a60eec85c..8d2eb23f6960c63644ce7e6edcdf768f271592ca 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