b140622
%global _description ISO 3166-1 defines two-letter, three-letter, and three-digit country\
5242cc7
codes. python-iso3166 is a self-contained module that converts between these\
5242cc7
codes and the corresponding country name.
5242cc7
d1d2ab2
%global srcname iso3166
d1d2ab2
5242cc7
Name:           python-%{srcname}
b140622
Version:        1.0.1
1e27f24
Release:        6%{?dist}
d1d2ab2
Summary:        Self-contained ISO 3166-1 country definitions
5242cc7
5242cc7
License:        MIT
d1d2ab2
URL:            https://github.com/deactivated/%{name}/
b140622
Source0:        %{pypi_source}
5242cc7
5242cc7
BuildRequires:  python3-devel
601abc4
BuildRequires:  %{py3_dist pytest}
601abc4
BuildRequires:  %{py3_dist setuptools}
5242cc7
BuildArch:      noarch
5242cc7
5242cc7
%description
b140622
%{_description}
5242cc7
5242cc7
5242cc7
%package -n python3-%{srcname}
d1d2ab2
Summary:        %{summary}
5242cc7
%{?python_provide:%python_provide python3-%{srcname}}
5242cc7
5242cc7
%description -n python3-%{srcname}
b140622
%{_description}
5242cc7
5242cc7
5242cc7
%prep
5242cc7
%autosetup -n %{srcname}-%{version}
5242cc7
5242cc7
5242cc7
%build
5242cc7
%py3_build
5242cc7
5242cc7
5242cc7
%install
5242cc7
%py3_install
5242cc7
5242cc7
b140622
%check
601abc4
%pytest
b140622
b140622
5242cc7
%files -n python3-%{srcname}
5242cc7
%doc CHANGES README.rst
5242cc7
%license LICENSE.txt
d1d2ab2
%{python3_sitelib}/%{srcname}/
d1d2ab2
%{python3_sitelib}/%{srcname}-*.egg-info/
5242cc7
5242cc7
5242cc7
%changelog
1e27f24
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
1e27f24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1e27f24
601abc4
* Tue Oct 06 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.0.1-5
601abc4
- Add BuildRequires on python3-setuptools
601abc4
- Spec cleanup
601abc4
084ad95
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
084ad95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
084ad95
b833e00
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-3
b833e00
- Rebuilt for Python 3.9
b833e00
a1da578
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
a1da578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a1da578
b140622
* Mon Dec 16 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.0.1-1
b140622
- Update to 1.0.1
b140622
- Add tests
b140622
bf5cde3
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-4
bf5cde3
- Rebuilt for Python 3.8.0rc1 (#1748018)
bf5cde3
9764e70
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0-3
9764e70
- Rebuilt for Python 3.8
9764e70
6b1fbe4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
6b1fbe4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6b1fbe4
d1d2ab2
* Wed Mar 27 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.0-1
d1d2ab2
- Update to 1.0
d1d2ab2
9f2fbb2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
9f2fbb2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9f2fbb2
71ed821
* Wed Jan 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-2
71ed821
- Subpackage python2-iso3166 has been removed
71ed821
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
71ed821
Mohamed El Morabity 24ff1d7
* Sun Aug 05 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.9-1
Mohamed El Morabity 24ff1d7
- Update to 0.9
Mohamed El Morabity 24ff1d7
09867fa
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-5
09867fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
09867fa
4b65c7c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8-4
4b65c7c
- Rebuilt for Python 3.7
4b65c7c
b47507c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-3
b47507c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b47507c
2d68c6f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
2d68c6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2d68c6f
5242cc7
* Tue Feb 14 2017 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.8-1
5242cc7
- Initial RPM release