diff --git a/python-netaddr.changes b/python-netaddr.changes index 1f5a308..974a0a8 100644 --- a/python-netaddr.changes +++ b/python-netaddr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 8 21:36:16 UTC 2021 - Dirk Müller + +- fix build for older distros + ------------------------------------------------------------------- Sat Jul 4 18:19:40 UTC 2020 - Martin Hauke @@ -27,7 +32,6 @@ Tue Dec 4 12:50:45 UTC 2018 - Matej Cepl - Remove superfluous devel dependency for noarch package - ------------------------------------------------------------------- Sun Aug 6 09:31:51 UTC 2017 - mardnh@gmx.de diff --git a/python-netaddr.spec b/python-netaddr.spec index cec8321..f40f953 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -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,12 +29,16 @@ 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 +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages