From 7eae2b0db3a509893f84694970a38571a953c324 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Oct 11 2021 13:34:42 +0000 Subject: Update to 4.4.0 --- diff --git a/.gitignore b/.gitignore index 1d19e9f..9c8dafb 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /GeoIP2-python-4.1.0.tar.gz /MaxMind-DB-cbaa463dc6950ababbf678ca85fb3833b81c76d3.tar.gz /GeoIP2-python-4.2.0.tar.gz +/GeoIP2-python-4.4.0.tar.gz diff --git a/python-geoip2.spec b/python-geoip2.spec index a7b2fe6..1fa0a69 100644 --- a/python-geoip2.spec +++ b/python-geoip2.spec @@ -7,8 +7,8 @@ %global test_data_rls cbaa463dc6950ababbf678ca85fb3833b81c76d3 Name: python-%{pypi_name} -Version: 4.2.0 -Release: 3%{?dist} +Version: 4.4.0 +Release: 1%{?dist} Summary: MaxMind GeoIP2 API License: ASL 2.0 @@ -18,17 +18,15 @@ Source1: https://github.com/maxmind/%{test_data}/archive/%{test_data_rls} BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: %{_bindir}/sphinx-build + %description %{desc} %package -n python3-%{pypi_name} Summary: %{summary} -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-requests -BuildRequires: python3-maxminddb -BuildRequires: python3-requests-mock -BuildRequires: python3-aiohttp %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} @@ -36,7 +34,6 @@ BuildRequires: python3-aiohttp %package doc Summary: Documentation for %{name} -BuildRequires: %{_bindir}/sphinx-build %description doc This package provides the documentation for %{pypi_name}. @@ -46,29 +43,35 @@ This package provides the documentation for %{pypi_name}. rmdir tests/data mv -f %{test_data}-%{test_data_rls} tests/data +%generate_buildrequires +%pyproject_buildrequires -r + %build -%py3_build +%pyproject_wheel sphinx-build -b html docs html rm -rf html/.{buildinfo,doctrees} %install -%py3_install +%pyproject_install +%pyproject_save_files %{pypi_name} %check # tests/webservice_test.py requires mocket not available in Fedora PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m unittest tests/database_test.py tests/models_test.py -%files -n python3-%{pypi_name} +%files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %license LICENSE -%{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/%{pypi_name}-*.egg-info/ %files doc %doc html/ %license LICENSE %changelog +* Tue Oct 05 2021 Lumír Balhar - 4.4.0-1 +- Update to 4.4.0 +Resolves#2006211 + * Fri Jul 23 2021 Fedora Release Engineering - 4.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 5a700e8..a56ff9a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (GeoIP2-python-4.2.0.tar.gz) = e58320152c36a1bdeb509330a31b852ecdefa3ec65127e75be38d494378754af923ab0e078038674a8ecaa8e6a30c174255d5f430daabaaad33fbd7a9650df3a +SHA512 (GeoIP2-python-4.4.0.tar.gz) = 78bf77f59f8d7fce7ae103d4186cac37bc4388d780ad38b5e7314b34ffa72bc96793202d3b5d8104d2509733300115dcd1c9d29bcf12beee5b415dee12ee6f3c SHA512 (MaxMind-DB-cbaa463dc6950ababbf678ca85fb3833b81c76d3.tar.gz) = 337552c1d6524ba31c1d3df55c0b6137ca2d5115529b8c1a619c82baa198886c274bac4228e456273851bddc46ca983ad2be6329b8f19d2769b745fb2c0f96b1