make the test check
(cherry picked from commit 5de4c85d5232b71f9bab7f12cb4afcd7bceb91b8)
This commit is contained in:
parent
b4a54da1c0
commit
64427b2a0f
@ -3,14 +3,14 @@ Python classes to extract information from the Linux kernel /proc files.
|
|||||||
|
|
||||||
Name: python-linux-procfs
|
Name: python-linux-procfs
|
||||||
Version: 0.6.2
|
Version: 0.6.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Linux /proc abstraction classes
|
Summary: Linux /proc abstraction classes
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://rt.wiki.kernel.org/index.php/Tuna
|
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
|
Source: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git/snapshot/%{name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools
|
BuildRequires: python2-devel python2-setuptools
|
||||||
BuildRequires: python3-devel python3-setuptools
|
BuildRequires: python3-devel python3-setuptools python3-six
|
||||||
|
|
||||||
Patch0: backport-Fix-import-of-utilist.patch
|
Patch0: backport-Fix-import-of-utilist.patch
|
||||||
|
|
||||||
@ -41,6 +41,9 @@ Requires: python3-six
|
|||||||
%py2_install
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
python3 bitmasklist_test.py
|
||||||
|
|
||||||
%files -n python2-linux-procfs
|
%files -n python2-linux-procfs
|
||||||
%defattr(0755,root,root,0755)
|
%defattr(0755,root,root,0755)
|
||||||
%{python2_sitelib}/procfs/
|
%{python2_sitelib}/procfs/
|
||||||
@ -58,6 +61,12 @@ Requires: python3-six
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Nov 12 2020 xinghe <xinghe1@huawei.com> - 0.6.2-3
|
||||||
- fix import of utilist
|
- fix import of utilist
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user