Accepting request 632157 from devel:languages:python

- Update to 1.4.1:
  * Fixes for python 3.7

OBS-URL: https://build.opensuse.org/request/show/632157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-08-31 08:46:35 +00:00 committed by Git OBS Bridge
parent dcc3d3b5ac
commit 8f82d7cb01
4 changed files with 13 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c10bc71b4a4d76ec90fa8587684f480bbd88a853b9d5e8abbee7683da0791eb
size 264476

3
maxminddb-1.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df1451bcd848199905ac0de4631b3d02d6a655ad28ba5e5a4ca29a23358db712
size 264596

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Aug 29 12:31:26 UTC 2018 - tchvatal@suse.com
- Update to 1.4.1:
* Fixes for python 3.7
-------------------------------------------------------------------
Sun May 27 08:30:23 UTC 2018 - sebix+novell.com@sebix.at

View File

@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-maxminddb
Version: 1.4.0
Version: 1.4.1
Release: 0
Summary: Reader for the MaxMind DB format
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.maxmind.com/
URL: http://www.maxmind.com/
Source: https://files.pythonhosted.org/packages/source/m/maxminddb/maxminddb-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@ -37,10 +37,7 @@ BuildRequires: %{python_module nose}
# /SECTION
%ifpython2
Requires: python2-ipaddress
Recommends: libmaxminddb0
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@ -59,8 +56,8 @@ export CFLAGS="%{optflags}"
%install
%python_install
%python_expand rm %buildroot%{$python_sitearch}/maxminddb/extension/maxminddb.c
%python_expand %fdupes %buildroot%{$python_sitearch}
%python_expand rm %{buildroot}%{$python_sitearch}/maxminddb/extension/maxminddb.c
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_exec setup.py test