diff --git a/python-ethtool.changes b/python-ethtool.changes index 3e32618..1f17e53 100644 --- a/python-ethtool.changes +++ b/python-ethtool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 13 13:02:43 UTC 2024 - Daniel Garcia + +- Remove broken tests with python 3.12+ + ------------------------------------------------------------------- Sat Jan 15 16:02:46 UTC 2022 - Dirk Müller diff --git a/python-ethtool.spec b/python-ethtool.spec index bfd8b58..318362a 100644 --- a/python-ethtool.spec +++ b/python-ethtool.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-ethtool # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,7 +35,7 @@ BuildRequires: net-tools-deprecated BuildRequires: pkgconfig BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -45,6 +45,8 @@ PCI locations. %prep %setup -q -n %{pypi_name}-%{version} +# No module imp in python 3.12+ +rm tests/test_scripts.py %build export CFLAGS="%{optflags}"