enable tests

(cherry picked from commit 38771d3398def142fc67f91f01183f58dd976a8e)
This commit is contained in:
zhanzhimin 2022-04-06 15:00:53 +08:00 committed by openeuler-sync-bot
parent 0a3f96941a
commit d1043cb53d

View File

@ -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 <zhanzhimin@h-partners.com> - 0.15-2
- enable tests
* Sat Nov 27 2021 zhanzhimin <zhanzhimin@huawei.com> - 0.15-1
- update to 0.15