From ed648e4f1fe9df3a246962d7f8b7f0927038c622 Mon Sep 17 00:00:00 2001 From: zhanzhimin Date: Wed, 6 Apr 2022 15:00:53 +0800 Subject: [PATCH] enable tests (cherry picked from commit 38771d3398def142fc67f91f01183f58dd976a8e) --- python-ethtool.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-ethtool.spec b/python-ethtool.spec index 8a9bdc5..d67151d 100644 --- a/python-ethtool.spec +++ b/python-ethtool.spec @@ -1,7 +1,7 @@ -%bcond_with tests +%bcond_without tests Name: python-ethtool Version: 0.15 -Release: 1 +Release: 2 Summary: Python bindings for the ethtool kernel interface License: GPLv2 @@ -9,6 +9,8 @@ URL: https://pypi.org/project/ethtool/ Source0: https://files.pythonhosted.org/packages/d2/59/2137996ee2da077e9369ac323830938bfc14083049081d89fdd7f3cf20a5/ethtool-0.15.tar.gz BuildRequires: gcc libnl3-devel python3-setuptools python3-devel +# dependency for tests +BuildRequires: net-tools %description Python bindings for the ethtool kernel interface. The Python ethtool @@ -63,6 +65,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitearch} %doc %{_mandir}/man* %changelog +* Wed Apr 06 2022 zhanzhimin - 0.15-2 +- enable tests + * Sat Nov 27 2021 zhanzhimin - 0.15-1 - update to 0.15 -- Gitee