diff --git a/python-napalm.changes b/python-napalm.changes index 6802657..bdabc99 100644 --- a/python-napalm.changes +++ b/python-napalm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 11 21:55:43 UTC 2022 - Ben Greiner + +- remove selectors2 test requirement: It's unmaintained and pulled + in by ncclient only if necessary, i.e. on python <= 3.4 (!), but + nowhere declared or used by napalm itself. + ------------------------------------------------------------------- Wed Oct 13 12:42:18 UTC 2021 - ecsos diff --git a/python-napalm.spec b/python-napalm.spec index b9136ca..477210d 100644 --- a/python-napalm.spec +++ b/python-napalm.spec @@ -1,7 +1,7 @@ # # spec file for package python-napalm # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -47,7 +47,7 @@ Requires: python-setuptools >= 38.4.0 Requires: python-textfsm Requires: python-typing_extensions Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2} @@ -67,7 +67,6 @@ BuildRequires: %{python_module pyeapi >= 0.8.2} BuildRequires: %{python_module pytest >= 5.4.3} BuildRequires: %{python_module requests >= 2.7.0} BuildRequires: %{python_module scp} -BuildRequires: %{python_module selectors2 >= 2.0.1} BuildRequires: %{python_module setuptools >= 38.4.0} BuildRequires: %{python_module textfsm} BuildRequires: %{python_module typing_extensions} @@ -80,6 +79,7 @@ interact with different router vendor devices using a unified API. %prep %setup -q -n napalm-%{version} +sed -i '1{/env python/d}' napalm/pyIOSXR/*.py %build %python_build