- point download url to PyPI
- drop %oname OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-idna?expand=0&rev=4
This commit is contained in:
parent
caee202a05
commit
7b9d66e8b1
@ -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
|
Thu Mar 16 14:01:23 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oname idna
|
|
||||||
|
|
||||||
Name: python-idna
|
Name: python-idna
|
||||||
Version: 2.5
|
Version: 2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,7 +24,7 @@ Summary: Internationalized Domain Names in Applications (IDNA)
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/kjd/idna
|
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_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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.
|
library but currently only supports the older 2003 specification.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{oname}-%{version}
|
%setup -q -n idna-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user