]> git.pld-linux.org Git - packages/python-pytz.git/commitdiff
use named url from pythonhosted
authorElan Ruusamäe <glen@delfi.ee>
Mon, 17 Oct 2016 20:21:55 +0000 (23:21 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 17 Oct 2016 20:21:55 +0000 (23:21 +0300)
python-pytz.spec

index b493695c32dc35d0e502c9269a87d7ca70d4b675..c0b972d4e7c6b8f166d988fb770013148a63461a 100644 (file)
@@ -7,7 +7,8 @@
 # - as we use system tzdata package, keeping this pkg up to the latest is
 #   pointless if only data has changed, but other packages may require
 #   newer version anyway, through egg dependencies
-%define        module  pytz
+%define        module          pytz
+%define        pypi_name       pytz
 Summary:       pytz - Olson timezone database in Python
 Summary(pl.UTF-8):     pytz - baza stref czasowych Olsona w Pythonie
 Name:          python-%{module}
@@ -15,14 +16,14 @@ Version:    2016.4
 Release:       1
 License:       MIT or ZPL v2.1
 Group:         Libraries/Python
-Source0:       https://pypi.python.org/packages/f4/7d/7c0c85e9c64a75dde11bc9d3e1adc4e09a42ce7cdb873baffa1598118709/%{module}-%{version}.tar.bz2
+Source0:       https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.bz2
 # Source0-md5: e56283d61935963157aebc5135206a47
 Patch0:                zoneinfo.patch
 URL:           http://pytz.sourceforge.net/
 BuildRequires: sed >= 4.0
 %if %{with python2}
-BuildRequires: python-devel >= 1:2.3
 BuildRequires: python >= 1:2.3
+BuildRequires: python-devel >= 1:2.3
 BuildRequires: python-setuptools
 %endif
 %if %{with python3}
This page took 0.122988 seconds and 4 git commands to generate.