Hello community,
here is the log from the commit of package python-maxminddb for
openSUSE:Factory checked in at 2020-03-27 00:23:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-maxminddb (Old)
and /work/SRC/openSUSE:Factory/.python-maxminddb.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-maxminddb"
Fri Mar 27 00:23:38 2020 rev:6 rq:784814 version:1.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-maxminddb/python-maxminddb.changes
2020-01-16 18:13:14.844703519 +0100
+++
/work/SRC/openSUSE:Factory/.python-maxminddb.new.3160/python-maxminddb.changes
2020-03-27 00:23:41.204207850 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:03:28 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-maxminddb.spec ++++++
--- /var/tmp/diff_new_pack.R6CdKE/_old 2020-03-27 00:23:41.976208241 +0100
+++ /var/tmp/diff_new_pack.R6CdKE/_new 2020-03-27 00:23:41.980208244 +0100
@@ -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: 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