]> git.pld-linux.org Git - packages/python3-setuptools.git/commitdiff
use reusable source url
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Sep 2018 12:47:01 +0000 (15:47 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Sep 2018 12:47:01 +0000 (15:47 +0300)
python-setuptools.spec

index 12067e8337f48f4397bcea885fdf4b1123004575..2889fd4c9320e14ffdfeae7707fb36b10acd0a2b 100644 (file)
@@ -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 $?)
This page took 0.140808 seconds and 4 git commands to generate.