Browse Source

python-linux-procfs package update

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 6 years ago
parent
commit
231a4d50b2
  1. 1
      SOURCES/fix-parse_affinity-for-CPU-numbers-greater-than-31.patch
  2. 1
      SOURCES/pidstats-fix-documentation-indentation.patch
  3. 14
      SPECS/python-linux-procfs.spec

1
SOURCES/fix-parse_affinity-for-CPU-numbers-greater-than-31.patch

@ -47,3 +47,4 @@ index 18645c0ba45e..0e7c24f45cda 100755 @@ -47,3 +47,4 @@ index 18645c0ba45e..0e7c24f45cda 100755
return bitmasklist
--
2.4.11


1
SOURCES/pidstats-fix-documentation-indentation.patch

@ -47,3 +47,4 @@ index 3d683c1ec5c6..0706fbc3debd 100755 @@ -47,3 +47,4 @@ index 3d683c1ec5c6..0706fbc3debd 100755
pids = os.listdir(self.basedir)
--
2.4.3


14
SPECS/python-linux-procfs.spec

@ -3,16 +3,20 @@ @@ -3,16 +3,20 @@

Name: python-linux-procfs
Version: 0.4.9
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Summary: Linux /proc abstraction classes
Group: System Environment/Libraries
Source: http://userweb.kernel.org/~acme/python-linux-procfs/%{name}-%{version}.tar.bz2

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} | bzip2 -c > python-linux-procfs-%%{version}.tar.bz2
Source: https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/snapshot/%{name}-%{version}.tar.bz2
Patch1: pidstats-fix-documentation-indentation.patch
Patch2: fix-parse_affinity-for-CPU-numbers-greater-than-31.patch

URL: http://userweb.kernel.org/~acme/python-linux-procfs
BuildArch: noarch
BuildRequires: python-devel
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@ -48,6 +52,10 @@ rm -rf %{buildroot} @@ -48,6 +52,10 @@ rm -rf %{buildroot}
%doc COPYING

%changelog
* Thu May 31 2018 John Kacur <jkacur@redhat.com> - 0.4.9-4
- Fix upstream URL reference and source
Resolves: rhbz#1583961

* Wed Aug 24 2016 John Kacur <jkacur@redhat.com> - 0.4.9-3
- fix parse_affinity for CPU numbers greater than 31
Resolves: rhbz#1365902

Loading…
Cancel
Save