[packages/python-setuptools] use reusable source url

glen glen at pld-linux.org
Fri Sep 14 14:47:12 CEST 2018


commit 9fded6eb2bf62dd8cae8f8910224cb0cc5cd3808
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Sep 14 15:47:01 2018 +0300

    use reusable source url

 python-setuptools.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python-setuptools.spec b/python-setuptools.spec
index 12067e8..2889fd4 100644
--- a/python-setuptools.spec
+++ b/python-setuptools.spec
@@ -11,6 +11,7 @@
 %endif
 
 %define		module	setuptools
+%define		pypi_name	setuptools
 Summary:	A collection of enhancements to the Python distutils
 Summary(pl.UTF-8):	Zestaw rozszerzeń dla pythonowych distutils
 Name:		python-setuptools
@@ -20,7 +21,7 @@ Epoch:		1
 License:	PSF or ZPL
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.python.org/simple/setuptools/
-Source0:	https://files.pythonhosted.org/packages/ef/1d/201c13e353956a1c840f5d0fbf0461bd45bbd678ea4843ebf25924e8984c/setuptools-%{version}.zip
+Source0:	https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.zip
 # Source0-md5:	592efabea3a65d8e97a025ed52f69b12
 URL:		https://github.com/pypa/setuptools
 %if %(locale -a | grep -q '^C.UTF-8$'; echo $?)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-setuptools.git/commitdiff/9fded6eb2bf62dd8cae8f8910224cb0cc5cd3808



More information about the pld-cvs-commit mailing list