From: Jakub Bogusz Date: Sat, 26 Mar 2016 08:20:03 +0000 (+0100) Subject: - easy_install command requires site-patch.py file, so exclude it from py_postclean... X-Git-Tag: auto/th/python3-setuptools-54.2.0-1~25 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=4ba39be8585b36a51cd3414b124ef42337cc2dce;p=packages%2Fpython3-setuptools.git - easy_install command requires site-patch.py file, so exclude it from py_postclean; release 2 --- 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}