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
This commit is contained in:
parent
0e4fa93738
commit
7a970a904d
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 07:07:04 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user