diff --git a/.gitignore b/.gitignore index 38cdfbe..3a7401a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pycountry-18.12.8.tar.gz /pycountry-19.8.18.tar.gz +/pycountry-20.7.3.tar.gz diff --git a/python-pycountry.spec b/python-pycountry.spec index 64cca3a..4df470f 100644 --- a/python-pycountry.spec +++ b/python-pycountry.spec @@ -1,8 +1,8 @@ %global srcname pycountry Name: python-%{srcname} -Version: 19.8.18 -Release: 5%{?dist} +Version: 20.7.3 +Release: 1%{?dist} Summary: ISO country, subdivision, language, currency and script definitions and their translations License: LGPLv2 @@ -10,13 +10,10 @@ URL: https://github.com/flyingcircusio/pycountry Source0: %pypi_source # Rebased from Debian: Patch0001: 00-use_system_iso-codes.patch -# https://github.com/flyingcircusio/pycountry/pull/16 (partially) -Patch0002: https://github.com/flyingcircusio/pycountry/pull/16/commits/1979282ee3cc6b1955240dbea46843832e9afc3a.patch -Patch0003: support-iso-codes-450.patch BuildArch: noarch -BuildRequires: iso-codes >= 4.1 +BuildRequires: iso-codes >= 4.5 BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(pytest) @@ -35,7 +32,7 @@ pycountry provides the ISO databases for the standards: Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} -Requires: iso-codes >= 4.1 +Requires: iso-codes >= 4.5 %description -n python3-%{srcname} pycountry provides the ISO databases for the standards: @@ -66,18 +63,20 @@ rm -rf src/%{srcname}/{databases,locales} %check -PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 \ - %{python3} -m pytest --pyargs pycountry +%{pytest} --pyargs pycountry %files -n python3-%{srcname} %doc README.rst HISTORY.txt %license LICENSE.txt %{python3_sitelib}/%{srcname} -%{python3_sitelib}/%{srcname}-%{version}-py*.egg-info +%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog +* Sat Jul 04 2020 Elliott Sales de Andrade - 20.7.3-1 +- Update to latest version + * Wed May 27 2020 Elliott Sales de Andrade - 19.8.18-5 - Support iso-codes 4.5 diff --git a/sources b/sources index 728fc8d..2b6d895 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pycountry-19.8.18.tar.gz) = 39ba06629eeea55460424d06992ca5f1e5bf6168b219dc4880ec326f6aa0c92a4fdc54d4143a8b8bb1490149af793e760e291c6d704104a57ba91e88228ab669 +SHA512 (pycountry-20.7.3.tar.gz) = df88a34307a4275267a7f3af282b73ca5e762c49ad158bfcd39b97c5d852bf045bcfe72351fc6f232c55003a7c4b0a04801eb562ba65ed5d599bd45b2bd3bc58