[packages/python-pygit2] use pythonhosted for sane url

glen glen at pld-linux.org
Sat Dec 10 20:47:17 CET 2016


commit dedf2ec27abf867e1ecd2ed382c68d50d323009f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Dec 10 21:46:11 2016 +0200

    use pythonhosted for sane url

 python-pygit2.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-pygit2.spec b/python-pygit2.spec
index b4ddc15..ade9c50 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -7,7 +7,9 @@
 %bcond_without	python3 # CPython 3.x module
 %bcond_without	doc	# documentation
 
-%define 	module	pygit2
+%define		module		pygit2
+%define		egg_name	pygit2
+%define		pypi_name	pygit2
 Summary:	Python 2.x bindings for libgit2 library
 Summary(pl.UTF-8):	Wiązania Pythona 2.x do biblioteki libgit2
 Name:		python-%{module}
@@ -16,7 +18,7 @@ Release:	1
 License:	GPL v2 with linking exception
 Group:		Libraries/Python
 #Source0Download: https://pypi.python.org/simple/pygit2/
-Source0:	https://pypi.python.org/packages/29/fb/fd98403ed4ec5554ed4f6de3719d2c672ca2518598061ff7231301ff864b/%{module}-%{version}.tar.gz
+Source0:	https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
 # Source0-md5:	6feb3a5539e8ce1c251cef4401478060
 Patch0:		%{name}-docbuild.patch
 URL:		https://pypi.python.org/pypi/pygit2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygit2.git/commitdiff/dedf2ec27abf867e1ecd2ed382c68d50d323009f



More information about the pld-cvs-commit mailing list