Hello community,
here is the log from the commit of package python-maxminddb for
openSUSE:Leap:15.2 checked in at 2020-03-31 07:21:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-maxminddb (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-maxminddb.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-maxminddb"
Tue Mar 31 07:21:28 2020 rev:12 rq:789129 version:1.5.2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-maxminddb/python-maxminddb.changes
2020-02-21 23:48:43.148491060 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-maxminddb.new.3160/python-maxminddb.changes
2020-03-31 07:21:29.178375014 +0200
@@ -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.4U5U5D/_old 2020-03-31 07:21:29.606375199 +0200
+++ /var/tmp/diff_new_pack.4U5U5D/_new 2020-03-31 07:21:29.610375202 +0200
@@ -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