[packages/python-pillow] - remove unneccessary cleanups from install

baggins baggins at pld-linux.org
Sun Feb 28 22:14:38 CET 2021


commit a872456eb764a5a7a6fa6540fbf588f4d950194d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 28 22:14:17 2021 +0100

    - remove unneccessary cleanups from install

 python-pillow.spec | 10 ----------
 1 file changed, 10 deletions(-)
---
diff --git a/python-pillow.spec b/python-pillow.spec
index d1cbccf..e8075d6 100644
--- a/python-pillow.spec
+++ b/python-pillow.spec
@@ -295,11 +295,6 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_incdir}/Imaging
 cp -p src/libImaging/*.h $RPM_BUILD_ROOT%{py_incdir}/Imaging
 %py_install
-
-# Fix non-standard-executable-perm
-chmod +x $RPM_BUILD_ROOT%{py_sitedir}/PIL/*.so
-
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/{Tests,selftest.py*}
 %py_postclean
 %endif
 
@@ -308,11 +303,6 @@ chmod +x $RPM_BUILD_ROOT%{py_sitedir}/PIL/*.so
 install -d $RPM_BUILD_ROOT%{py3_incdir}/Imaging
 cp -p src/libImaging/*.h $RPM_BUILD_ROOT%{py3_incdir}/Imaging
 %py3_install
-
-# Fix non-standard-executable-perm
-chmod +x $RPM_BUILD_ROOT%{py3_sitedir}/PIL/*.so
-
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/{Tests,selftest.py,__pycache__/selftest.*}
 %endif
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pillow.git/commitdiff/a872456eb764a5a7a6fa6540fbf588f4d950194d



More information about the pld-cvs-commit mailing list