From fd6bbda417a2f40a985c994690814eb5d63f4da78a5afe3f63a1333019683a48 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 11 Jun 2021 20:30:08 +0000 Subject: [PATCH] Accepting request 897729 from devel:languages:python - disable python 2, fixes Leap builds. Python 2 is no longer supported. fixes boo#1186841 OBS-URL: https://build.opensuse.org/request/show/897729 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-maxminddb?expand=0&rev=11 --- python-maxminddb.changes | 6 ++++++ python-maxminddb.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-maxminddb.changes b/python-maxminddb.changes index 545e553..2cbb4eb 100644 --- a/python-maxminddb.changes +++ b/python-maxminddb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jun 5 14:03:36 UTC 2021 - Sebastian Wagner + +- disable python 2, fixes Leap builds. Python 2 is no longer supported. + fixes boo#1186841 + ------------------------------------------------------------------- Sun Nov 1 18:30:49 UTC 2020 - Sebastian Wagner diff --git a/python-maxminddb.spec b/python-maxminddb.spec index 5fc2ada..7fd3188 100644 --- a/python-maxminddb.spec +++ b/python-maxminddb.spec @@ -1,7 +1,7 @@ # # spec file for package python-maxminddb # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%define skip_python2 1 Name: python-maxminddb Version: 2.0.3 Release: 0 @@ -30,9 +29,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: libmaxminddb-devel BuildRequires: python-rpm-macros -%if %{with python2} -BuildRequires: python-ipaddress -%endif # SECTION test requirements BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest}