make the test check

(cherry picked from commit 5de4c85d5232b71f9bab7f12cb4afcd7bceb91b8)
This commit is contained in:
zhuofeng 2023-02-18 11:24:00 +08:00 committed by openeuler-sync-bot
parent b4a54da1c0
commit 64427b2a0f

View File

@ -3,14 +3,14 @@ Python classes to extract information from the Linux kernel /proc files.
Name: python-linux-procfs
Version: 0.6.2
Release: 3
Release: 4
Summary: Linux /proc abstraction classes
License: GPLv2
URL: https://rt.wiki.kernel.org/index.php/Tuna
Source: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git/snapshot/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-devel python3-setuptools python3-six
Patch0: backport-Fix-import-of-utilist.patch
@ -41,6 +41,9 @@ Requires: python3-six
%py2_install
%py3_install
%check
python3 bitmasklist_test.py
%files -n python2-linux-procfs
%defattr(0755,root,root,0755)
%{python2_sitelib}/procfs/
@ -58,6 +61,12 @@ Requires: python3-six
%license COPYING
%changelog
* Sat Feb 18 2023 zhuofeng <zhuofeng2@huawei.com> - 0.6.2-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:make the test check
* Thu Nov 12 2020 xinghe <xinghe1@huawei.com> - 0.6.2-3
- fix import of utilist