From 7a970a904d05dc2374cff1d4686c8bf86b6bdb99405c274b9b62722e815aa6b7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 12 Mar 2019 08:46:19 +0000 Subject: [PATCH] Accepting request 683718 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/683718 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=7 --- python-geoip2.changes | 8 ++++++++ python-geoip2.spec | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/python-geoip2.changes b/python-geoip2.changes index 4257f0b..06c32a6 100644 --- a/python-geoip2.changes +++ b/python-geoip2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 11 07:07:04 UTC 2019 - John Vandenberg + +- Fix minimum build dependency of maxminddb +- Fix fdupes +- Use more useful GitHub repo as URL +- Add HISTORY.rst to %doc + ------------------------------------------------------------------- Tue Dec 4 12:48:25 UTC 2018 - Matej Cepl diff --git a/python-geoip2.spec b/python-geoip2.spec index 8ffbd78..749570a 100644 --- a/python-geoip2.spec +++ b/python-geoip2.spec @@ -1,7 +1,7 @@ # # spec file for package python-geoip2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,13 +24,13 @@ Release: 0 Summary: MaxMind GeoIP2 Python API License: Apache-2.0 Group: Development/Languages/Python -URL: http://www.maxmind.com/ +URL: https://github.com/maxmind/GeoIP2-python Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module maxminddb >= 1.2.1} +BuildRequires: %{python_module maxminddb >= 1.4.0} BuildRequires: %{python_module requests >= 2.9} BuildRequires: %{python_module requests-mock >= 0.5} # /SECTION @@ -54,14 +54,14 @@ The API also works with MaxMind's free GeoLite2 databases. %install %python_install -%python_expand %fdupes %{buildroot}%{$sitearch} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %license LICENSE -%doc README.rst +%doc README.rst HISTORY.rst %{python_sitelib}/* %changelog