python-linux-procfs package update

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 2018-11-27 18:46:38 +01:00
parent f97f4a5fc0
commit 231a4d50b2
3 changed files with 31 additions and 21 deletions

View File

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


View File

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


View File

@ -3,16 +3,20 @@


Name: python-linux-procfs Name: python-linux-procfs
Version: 0.4.9 Version: 0.4.9
Release: 3%{?dist} Release: 4%{?dist}
License: GPLv2 License: GPLv2
Summary: Linux /proc abstraction classes Summary: Linux /proc abstraction classes
Group: System Environment/Libraries 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 Patch1: pidstats-fix-documentation-indentation.patch
Patch2: fix-parse_affinity-for-CPU-numbers-greater-than-31.patch Patch2: fix-parse_affinity-for-CPU-numbers-greater-than-31.patch


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


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