14
0

Accepting request 930242 from devel:languages:python

- fix build for older distros

OBS-URL: https://build.opensuse.org/request/show/930242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netaddr?expand=0&rev=25
This commit is contained in:
2021-11-09 22:54:48 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 8 21:36:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
- fix build for older distros
-------------------------------------------------------------------
Sat Jul 4 18:19:40 UTC 2020 - Martin Hauke <mardnh@gmx.de>
@@ -27,7 +32,6 @@ Tue Dec 4 12:50:45 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Sun Aug 6 09:31:51 UTC 2017 - mardnh@gmx.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-netaddr
#
# 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
@@ -29,10 +29,14 @@ BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-importlib-metadata
Requires: python-importlib_resources
%ifpython2
Requires: python-xml
%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch