diff --git a/python-idna.changes b/python-idna.changes index cfd6140..d99eba6 100644 --- a/python-idna.changes +++ b/python-idna.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 21 15:31:28 UTC 2017 - jmatejek@suse.com + +- point download url to PyPI +- drop %oname + ------------------------------------------------------------------- Thu Mar 16 14:01:23 UTC 2017 - tbechtold@suse.com diff --git a/python-idna.spec b/python-idna.spec index 88af53c..e49c30e 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -17,8 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oname idna - Name: python-idna Version: 2.5 Release: 0 @@ -26,7 +24,7 @@ Summary: Internationalized Domain Names in Applications (IDNA) License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/kjd/idna -Source0: https://github.com/kjd/%{oname}/archive/v%{version}.tar.gz#/%{oname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/i/idna/idna-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,7 +44,7 @@ for the “encodings.idna” module that comes with the Python standard library but currently only supports the older 2003 specification. %prep -%setup -q -n %{oname}-%{version} +%setup -q -n idna-%{version} %build %python_build