[projects/template-specs] - pypi URLs update

qboosh qboosh at pld-linux.org
Sat May 26 16:28:02 CEST 2018


commit 4b9c89b7293326f909236263ccc05bc73402fd58
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 26 16:29:02 2018 +0200

    - pypi URLs update

 python.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python.spec b/python.spec
index b88a95a..4c39442 100644
--- a/python.spec
+++ b/python.spec
@@ -23,9 +23,11 @@ Version:	_
 Release:	0.1
 License:	- (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
 Group:		Libraries/Python
-Source0:	https://files.pythonhosted.org/packages/source/M/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# if pypi:
+#Source0Download: https://pypi.org/simple/PYPI_NAME/
+Source0:	https://files.pythonhosted.org/packages/source/P/PYPI_NAME/%{pypi_name}-%{version}.tar.gz
 # Source0-md5:	-
-#URL:		https://pypi.python.org/pypi/MODULE
+#URL:		https://pypi.org/project/PYPI_NAME/
 URL:		-
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/4b9c89b7293326f909236263ccc05bc73402fd58



More information about the pld-cvs-commit mailing list