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
This commit is contained in:
parent
696f553590
commit
fd6bbda417
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 5 14:03:36 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- 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 <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user