Accepting request 784814 from devel:languages:python
Staging:I py2 OBS-URL: https://build.opensuse.org/request/show/784814 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=6
This commit is contained in:
parent
34c78a0086
commit
d8f96e1817
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 08:03:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 1 11:06:52 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-maxminddb
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: Reader for the MaxMind DB format
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.maxmind.com/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/maxminddb/maxminddb-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
@ -30,13 +30,15 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libmaxminddb-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-ipaddress
|
||||
%if %{with python2}
|
||||
BuildRequires: python-ipaddress
|
||||
%endif
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
# /SECTION
|
||||
%ifpython2
|
||||
Requires: python2-ipaddress
|
||||
Requires: python-ipaddress
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user