[packages/python-setuptools] - easy_install command requires site-patch.py file, so exclude it from py_postclean; release 2
qboosh
qboosh at pld-linux.org
Sat Mar 26 09:15:40 CET 2016
commit 4ba39be8585b36a51cd3414b124ef42337cc2dce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 26 09:20:03 2016 +0100
- easy_install command requires site-patch.py file, so exclude it from py_postclean; release 2
python-setuptools.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-setuptools.spec b/python-setuptools.spec
index f1cce1e..8046ff9 100644
--- a/python-setuptools.spec
+++ b/python-setuptools.spec
@@ -15,7 +15,7 @@ Summary: A collection of enhancements to the Python distutils
Summary(pl.UTF-8): Zestaw rozszerzeń dla pythonowych distutils
Name: python-setuptools
Version: 20.3.1
-Release: 1
+Release: 2
Epoch: 1
License: PSF or ZPL
Group: Development/Languages/Python
@@ -147,7 +147,8 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%py_install
-%py_postclean
+# note: setuptools/command/easy_install.py expects setuptools/site-patch.py to exist
+%py_postclean -x site-patch.py
%endif
%if %{with python3_default}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-setuptools.git/commitdiff/4ba39be8585b36a51cd3414b124ef42337cc2dce
More information about the pld-cvs-commit
mailing list