15
0

- Remove broken tests with python 3.12+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ethtool?expand=0&rev=17
This commit is contained in:
2024-02-13 13:03:10 +00:00
committed by Git OBS Bridge
parent 54a9023239
commit 4780acbb10
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 13 13:02:43 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Remove broken tests with python 3.12+
-------------------------------------------------------------------
Sat Jan 15 16:02:46 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -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}"