!28 [sync] PR-27: make the test check

From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
This commit is contained in:
openeuler-ci-bot 2023-02-22 03:14:38 +00:00 committed by Gitee
commit a19a8b14f1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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