Compare commits
3 Commits
imports/c8
...
c8
Author | SHA1 | Date |
---|---|---|
CentOS Sources | 5224d54bbf | |
CentOS Sources | 452be243eb | |
CentOS Sources | 051b8b1929 |
|
@ -1 +1 @@
|
|||
SOURCES/python-linux-procfs-0.6.2.tar.xz
|
||||
SOURCES/python-linux-procfs-0.7.1.tar.xz
|
||||
|
|
|
@ -1 +1 @@
|
|||
80a5eb670d223e598be511c6df79851b7e986c3d SOURCES/python-linux-procfs-0.6.2.tar.xz
|
||||
5381e9bed7020a32f9d106aadd8086bef3796276 SOURCES/python-linux-procfs-0.7.1.tar.xz
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
From 208b963455fa5ff658b24e513639f27ef66920ce Mon Sep 17 00:00:00 2001
|
||||
From: John Kacur <jkacur@redhat.com>
|
||||
Date: Wed, 24 Jun 2020 12:01:42 -0400
|
||||
Subject: [PATCH 1/2] python-linux-procfs: Fix import of utilist
|
||||
|
||||
If procfs/utilist.py is not in your PYTHONPATH, the import can fail.
|
||||
Specify it fully.
|
||||
|
||||
Reported-by: David Runge <dave@sleepmap.de>
|
||||
Suggested-by: Guy Streeter <guy.streeter@gmail.com>
|
||||
Signed-off-by: John Kacur <jkacur@redhat.com>
|
||||
---
|
||||
procfs/procfs.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/procfs/procfs.py b/procfs/procfs.py
|
||||
index a586ae2b0156..3cfa941ffdb9 100755
|
||||
--- a/procfs/procfs.py
|
||||
+++ b/procfs/procfs.py
|
||||
@@ -21,7 +21,7 @@
|
||||
import os, time
|
||||
from functools import reduce
|
||||
from six.moves import range
|
||||
-from utilist import bitmasklist
|
||||
+from procfs.utilist import bitmasklist
|
||||
import platform
|
||||
import re
|
||||
|
||||
--
|
||||
2.21.3
|
||||
|
|
@ -1,26 +1,20 @@
|
|||
Name: python-linux-procfs
|
||||
Version: 0.6.2
|
||||
Release: 2%{?dist}
|
||||
Version: 0.7.1
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2
|
||||
Summary: Linux /proc abstraction classes
|
||||
Group: System Environment/Libraries
|
||||
Source: https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/snapshot/%{name}-%{version}.tar.xz
|
||||
URL: https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git
|
||||
# If upstream does not provide tarballs, to generate
|
||||
# git clone git://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git
|
||||
# cd python-linux-procfs
|
||||
# git archive --format=tar --prefix=python-linux-procfs-%%{version}/ v%%{version} | xz -c > python-linux-procfs-%%{version}.tar.xz
|
||||
URL: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git
|
||||
Source: https://www.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
Obsoletes: python-linux-procfs
|
||||
|
||||
%global _description\
|
||||
Abstractions to extract information from the Linux kernel /proc files.
|
||||
|
||||
# PATCHES
|
||||
Patch1: python-linux-procfs-Fix-import-of-utilist.patch
|
||||
|
||||
%description %_description
|
||||
|
||||
|
@ -42,9 +36,6 @@ Requires: python3-six
|
|||
rm -rf %{buildroot}
|
||||
%py3_install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -n python3-linux-procfs
|
||||
%defattr(0755,root,root,0755)
|
||||
%{_bindir}/pflags
|
||||
|
@ -54,8 +45,36 @@ rm -rf %{buildroot}
|
|||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Fri Nov 18 2022 John Kacur <jkacur@redhat.com> - 0.7.1-1
|
||||
- Rebase to upstream version python-linux-procfs-0.7.1
|
||||
Resolves: rhbz#2121522
|
||||
|
||||
* Tue Jan 11 2022 John Kacur <jkacur@redhat.com> - 0.7.0-1
|
||||
- Rebase to upstream version python-linux-procfs-0.7.0
|
||||
Resolves: rhbz#2031158
|
||||
|
||||
* Thu Dec 09 2021 John Kacur <jkacur@redhat.com> - 0.6.3-4
|
||||
- various clean-ups including using 'with' context managers in try-except
|
||||
- Fix to ignore UnicodeDecodeError when it occurs
|
||||
Resolves: rhbz#2016204
|
||||
|
||||
* Tue Nov 23 2021 John Kacur <jkacur@redhat.com> - 0.6.3-3
|
||||
- Propagate error to user if pid completed
|
||||
- Handle pid completed in pflags
|
||||
Resolves: rhbz#1820709
|
||||
|
||||
* Fri Nov 19 2021 John Kacur <jkacur@redhat.com> - 0.6.3-2
|
||||
- Fix traceback with non-utf8 chars
|
||||
Resolves: rhbz#2016204
|
||||
|
||||
* Tue Jan 12 2021 John Kacur <jkacur@redhat.com> - 0.6.3-1
|
||||
- Rebase to latest upstream
|
||||
- Correct URL and Source
|
||||
- Simplify specfile
|
||||
Resolves: rhbz#1890557
|
||||
|
||||
* Wed Jun 24 2020 John Kacur <jkacur@redhat.com> - 0.6.2-2
|
||||
- Resolves: rhbz#1850391
|
||||
Resolves: rhbz#1850391
|
||||
|
||||
* Mon Jun 22 2020 John Kacur <jkacur@redhat.com> - 0.6.2-1
|
||||
- Add bitmasklist_test
|
||||
|
|
Loading…
Reference in New Issue