b14062
%global _description ISO 3166-1 defines two-letter, three-letter, and three-digit country\
5242cc
codes. python-iso3166 is a self-contained module that converts between these\
5242cc
codes and the corresponding country name.
5242cc
d1d2ab
%global srcname iso3166
d1d2ab
5242cc
Name:           python-%{srcname}
b14062
Version:        1.0.1
a1da57
Release:        2%{?dist}
d1d2ab
Summary:        Self-contained ISO 3166-1 country definitions
5242cc
5242cc
License:        MIT
d1d2ab
URL:            https://github.com/deactivated/%{name}/
b14062
Source0:        %{pypi_source}
5242cc
5242cc
BuildRequires:  python3-devel
b14062
BuildRequires:  python3-pytest
5242cc
BuildArch:      noarch
5242cc
5242cc
%description
b14062
%{_description}
5242cc
5242cc
5242cc
%package -n python3-%{srcname}
d1d2ab
Summary:        %{summary}
5242cc
%{?python_provide:%python_provide python3-%{srcname}}
5242cc
5242cc
%description -n python3-%{srcname}
b14062
%{_description}
5242cc
5242cc
5242cc
%prep
5242cc
%autosetup -n %{srcname}-%{version}
5242cc
5242cc
5242cc
%build
5242cc
%py3_build
5242cc
5242cc
5242cc
%install
5242cc
%py3_install
5242cc
5242cc
b14062
%check
445e1b
PYTHONPATH=$PWD py.test-%{python3_version}
b14062
b14062
5242cc
%files -n python3-%{srcname}
5242cc
%doc CHANGES README.rst
5242cc
%license LICENSE.txt
d1d2ab
%{python3_sitelib}/%{srcname}/
d1d2ab
%{python3_sitelib}/%{srcname}-*.egg-info/
5242cc
5242cc
5242cc
%changelog
a1da57
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
a1da57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a1da57
b14062
* Mon Dec 16 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.0.1-1
b14062
- Update to 1.0.1
b14062
- Add tests
b14062
bf5cde
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.0-4
bf5cde
- Rebuilt for Python 3.8.0rc1 (#1748018)
bf5cde
9764e7
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.0-3
9764e7
- Rebuilt for Python 3.8
9764e7
6b1fbe
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
6b1fbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6b1fbe
d1d2ab
* Wed Mar 27 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.0-1
d1d2ab
- Update to 1.0
d1d2ab
9f2fbb
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
9f2fbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9f2fbb
71ed82
* Wed Jan 16 2019 Miro Hron훾ok <mhroncok@redhat.com> - 0.9-2
71ed82
- Subpackage python2-iso3166 has been removed
71ed82
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
71ed82
Mohamed El Morabity 24ff1d
* Sun Aug 05 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.9-1
Mohamed El Morabity 24ff1d
- Update to 0.9
Mohamed El Morabity 24ff1d
09867f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
09867f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
09867f
4b65c7
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 0.8-4
4b65c7
- Rebuilt for Python 3.7
4b65c7
b47507
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
b47507
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b47507
2d68c6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
2d68c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2d68c6
5242cc
* Tue Feb 14 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.8-1
5242cc
- Initial RPM release