14
0

- fix build for older distros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=27
This commit is contained in:
2021-11-08 21:36:27 +00:00
committed by Git OBS Bridge
parent 97b1c875af
commit 0da4266bf2
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> 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 - Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 6 09:31:51 UTC 2017 - mardnh@gmx.de Sun Aug 6 09:31:51 UTC 2017 - mardnh@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-netaddr # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -29,12 +29,16 @@ BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module importlib_resources} BuildRequires: %{python_module importlib_resources}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-importlib-metadata Requires: python-importlib-metadata
Requires: python-importlib_resources Requires: python-importlib_resources
%ifpython2
Requires: python-xml
%endif
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun):update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages