]> git.pld-linux.org Git - packages/python3-setuptools.git/commitdiff
- easy_install command requires site-patch.py file, so exclude it from py_postclean...
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 26 Mar 2016 08:20:03 +0000 (09:20 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 26 Mar 2016 08:20:03 +0000 (09:20 +0100)
python-setuptools.spec

index f1cce1e47b2b5e194b52696d5be7a6e60e151a41..8046ff94c296da1ca5cf00a47424d2bd9f62810e 100644 (file)
@@ -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}
This page took 0.214137 seconds and 4 git commands to generate.