From 09aa1f76707fa306c00fd7ba9ac701ef6806b369 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 20 Jan 2018 10:00:48 +0100 Subject: [PATCH] improve URL Signed-off-by: Igor Gnatenko --- python-setuptools_scm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 4df5a6c..bc694c0 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -8,8 +8,8 @@ Release: 7%{?dist} Summary: Blessed package to manage your versions by scm tags License: MIT -URL: https://pypi.python.org/pypi/%{srcname} -Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz +URL: https://pypi.python.org/pypi/setuptools_scm +Source0: https://files.pythonhosted.org/packages/source/%(n=%{srcname}; echo ${n:0:1})/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch