[packages/python-amqp] use pythonhosted url
glen
glen at pld-linux.org
Wed Oct 12 20:43:14 CEST 2016
commit d2014c6141d82eeae9fe020b4145ae01e22a5372
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 12 21:42:56 2016 +0300
use pythonhosted url
python-amqp.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-amqp.spec b/python-amqp.spec
index 3ea78a1..25828fd 100644
--- a/python-amqp.spec
+++ b/python-amqp.spec
@@ -5,7 +5,8 @@
%bcond_without python2 # CPython 2.x module
%bcond_without python3 # CPython 3.x module
-%define module amqp
+%define module amqp
+%define pypi_name amqp
Summary: AMQP 0.9.1 client library
Summary(pl.UTF-8): Biblioteka kliencka AMQP 0.9.1
Name: python-%{module}
@@ -13,7 +14,7 @@ Version: 1.4.9
Release: 1
License: LGPL v2.1
Group: Libraries/Python
-Source0: https://pypi.python.org/packages/cc/a4/f265c6f9a7eb1dd45d36d9ab775520e07ff575b11ad21156f9866da047b2/%{module}-%{version}.tar.gz
+Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
# Source0-md5: df57dde763ba2dea25b3fa92dfe43c19
URL: http://amqp.readthedocs.org/
BuildRequires: rpm-pythonprov
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-amqp.git/commitdiff/d2014c6141d82eeae9fe020b4145ae01e22a5372
More information about the pld-cvs-commit
mailing list