|
# Created by pyp2rpm-3.3.3
|
|
%global pypi_name idna
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 2.8
|
|
Release: 2%{?dist}
|
|
Summary: Internationalized Domain Names in Applications (IDNA)
|
|
|
|
License: BSD-like
|
|
URL: https://github.com/kjd/idna
|
|
Source0: https://files.pythonhosted.org/packages/source/i/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
|
|
%description
|
|
%{summary}
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%{summary}
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
# Remove bundled egg-info
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE.rst
|
|
%doc README.rst
|
|
%{python3_sitelib}/%{pypi_name}
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
%changelog
|
|
* Fri Feb 28 2020 Zach Huntington-Meath <zhunting@redhat.com> - 2.8-2
|
|
- Bump release to build for el8
|
|
|
|
* Mon Nov 18 2019 Evgeni Golov - 2.8-1
|
|
- Initial package.
|