From 64427b2a0f0c5662053b70dd9c908a75cdba2343 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Sat, 18 Feb 2023 11:24:00 +0800 Subject: [PATCH] make the test check (cherry picked from commit 5de4c85d5232b71f9bab7f12cb4afcd7bceb91b8) --- python-linux-procfs.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec index 0e234f9..f479fd3 100644 --- a/python-linux-procfs.spec +++ b/python-linux-procfs.spec @@ -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 - 0.6.2-4 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:make the test check + * Thu Nov 12 2020 xinghe - 0.6.2-3 - fix import of utilist