12eebf
Name: python-linux-procfs
fccb54
Version: 0.7.1
3cf38b
Release: 1%{?dist}
12eebf
License: GPLv2
12eebf
Summary: Linux /proc abstraction classes
12eebf
Group: System Environment/Libraries
3cf38b
URL: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git
06b212
Source: https://www.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
12eebf
BuildArch: noarch
12eebf
BuildRequires: python3-devel
12eebf
BuildRequires: python3-setuptools
12eebf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
12eebf
12eebf
%global _description\
12eebf
Abstractions to extract information from the Linux kernel /proc files.
12eebf
12eebf
# PATCHES
12eebf
12eebf
%description %_description
12eebf
12eebf
%package -n python3-linux-procfs
12eebf
Summary: %summary
12eebf
%{?python_provide:%python_provide python3-linux-procfs}
12eebf
12eebf
Requires: python3-six
12eebf
12eebf
%description -n python3-linux-procfs %_description
12eebf
12eebf
%prep
12eebf
%autosetup -p1
12eebf
12eebf
%build
12eebf
%py3_build
12eebf
12eebf
%install
12eebf
rm -rf %{buildroot}
12eebf
%py3_install
12eebf
12eebf
%files -n python3-linux-procfs
12eebf
%defattr(0755,root,root,0755)
12eebf
%{_bindir}/pflags
12eebf
%{python3_sitelib}/procfs/
12eebf
%defattr(0644,root,root,0755)
12eebf
%{python3_sitelib}/python_linux_procfs*.egg-info
12eebf
%license COPYING
12eebf
12eebf
%changelog
fccb54
* Fri Nov 18 2022 John Kacur <jkacur@redhat.com> - 0.7.1-1
fccb54
- Rebase to upstream version python-linux-procfs-0.7.1
fccb54
Resolves: rhbz#2121522
fccb54
06b212
* Tue Jan 11 2022 John Kacur <jkacur@redhat.com> - 0.7.0-1
06b212
- Rebase to upstream version python-linux-procfs-0.7.0
06b212
Resolves: rhbz#2031158
06b212
06b212
* Thu Dec 09 2021 John Kacur <jkacur@redhat.com> - 0.6.3-4
06b212
- various clean-ups including using 'with' context managers in try-except
06b212
- Fix to ignore UnicodeDecodeError when it occurs
06b212
Resolves: rhbz#2016204
06b212
06b212
* Tue Nov 23 2021 John Kacur <jkacur@redhat.com> - 0.6.3-3
06b212
- Propagate error to user if pid completed
06b212
- Handle pid completed in pflags
06b212
Resolves: rhbz#1820709
06b212
06b212
* Fri Nov 19 2021 John Kacur <jkacur@redhat.com> - 0.6.3-2
06b212
- Fix traceback with non-utf8 chars
06b212
Resolves: rhbz#2016204
06b212
3cf38b
* Tue Jan 12 2021 John Kacur <jkacur@redhat.com> - 0.6.3-1
3cf38b
- Rebase to latest upstream
3cf38b
- Correct URL and Source
3cf38b
- Simplify specfile
3cf38b
Resolves: rhbz#1890557
3cf38b
e7c6bb
* Wed Jun 24 2020 John Kacur <jkacur@redhat.com> - 0.6.2-2
3cf38b
Resolves: rhbz#1850391
e7c6bb
e7c6bb
* Mon Jun 22 2020 John Kacur <jkacur@redhat.com> - 0.6.2-1
e7c6bb
- Add bitmasklist_test
e7c6bb
- Clean-ups including using a more modern python spacing, tabbing, etc
e7c6bb
- Fix to parse number of cpus correctly on s390(x)
e7c6bb
Resolves: rhbz#1849215
e7c6bb
12eebf
* Wed Apr 03 2019 Clark Williams <williams@redhat.com> - 0.6-7
12eebf
- OSCI gating framework added
12eebf
Resolves: rhbz#1682424
12eebf
12eebf
* Mon Jan 28 2019 John Kacur <jkacur@redhat.com> - 0.6-6
12eebf
- fix refreshing the cache
12eebf
- fix removing vanished processes in pidstats
12eebf
Resolves: rhbz#1669294
12eebf
12eebf
* Fri Nov 30 2018 John Kacur <jkacur@redhat.com> - 0.6-5
12eebf
- pflags - Ignore non-existent pids or process names
12eebf
Resolves: rhbz#1654312
12eebf
12eebf
* Wed Nov 28 2018 John Kacur <jkacur@redhat.com> - 0.6-4
12eebf
- Use argparse to create a help option
12eebf
Resolves: rhbz#1650159
12eebf
12eebf
* Tue Oct 16 2018 John Kacur <jkacur@redhat.com> - 0.6-3
12eebf
- python3 doesn't supply "reduce" by default, so import it
12eebf
Resolves: rhbz#1639430
12eebf
12eebf
* Mon Aug 13 2018 John Kacur <jkacur@redhat.com> - 0.6-2
12eebf
- Obsoltes python-linux-procfs (just build the python3 version)
12eebf
Resolves: rhbz#1589042
12eebf
12eebf
* Fri Aug 10 2018 John Kacur <jkacur@redhat.com> - 0.6-1
12eebf
- Sync with upstream source
12eebf
Resolves: rhbz#1614869
12eebf
12eebf
* Wed Aug 8 2018 John Kacur <jkacur@redhat.com> - 0.5.1-7
12eebf
- Add some functions related to affinity from tuna
12eebf
Resolves: rhbz#1522868
12eebf
12eebf
* Tue Jun 26 2018 John Kacur <jkacur@redhat.com> - 0.5.1-6
12eebf
- Fix upstream URL reference and source
12eebf
Resolves: rhbz#1589938
12eebf
12eebf
* Thu May 31 2018 John Kacur <jkacur@redhat.com> - 0.5.1-5
12eebf
- Build only the python3 subpackage (needs to be done in rhel-8.0 too)
12eebf
Resolves: rhbz#1567234
12eebf
12eebf
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
12eebf
12eebf
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-3
12eebf
- Update Python 2 dependency declarations to new packaging standards
12eebf
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
12eebf
12eebf
* Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.5.1-2
12eebf
- missing defattr for _bindir
12eebf
12eebf
* Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.5.1-1
12eebf
- missed snippet in specfile for python2 only
12eebf
- added scripts to setup.py, pflags renamed and added to setup.py
12eebf
12eebf
* Mon Nov 20 2017 Jiri Kastner <jkastner@redhat.com> - 0.5-1
12eebf
- update to 0.5
12eebf
12eebf
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.4.10-4
12eebf
- Python 2 binary package renamed to python2-linux-procfs
12eebf
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
12eebf
12eebf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.10-3
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
12eebf
12eebf
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.10-2
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
12eebf
12eebf
* Thu Dec 22 2016 Jiri Kastner <jkastner@redhat.com> - 0.4.10-1
12eebf
- update to latest release
12eebf
12eebf
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-7
12eebf
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
12eebf
12eebf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-6
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
12eebf
12eebf
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-5
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
12eebf
12eebf
* Fri Oct 10 2014 Jiri Kastner <jkastner@redhat.com> - 0.4.6-4
12eebf
- fix source and url
12eebf
12eebf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-3
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
12eebf
12eebf
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-2
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12eebf
12eebf
* Fri Jun 14 2013 Jiri Kastner <jkastner@redhat.com> - 0.4.6-1
12eebf
- updated to 0.4.6
12eebf
12eebf
* Thu Jun  6 2013 Jiri Kastner <jkastner@redhat.com> - 0.4.5-1
12eebf
- Added support for parsing cgroups as a per thread attribute
12eebf
12eebf
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-8
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
12eebf
12eebf
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-7
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
12eebf
12eebf
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-6
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12eebf
12eebf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-5
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
12eebf
12eebf
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.4-4
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
12eebf
12eebf
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-3
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
12eebf
12eebf
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.4-2
12eebf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
12eebf
12eebf
* Tue Feb 10 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4.4-1
12eebf
- Even more fixes due to the fedora review process
12eebf
12eebf
* Mon Feb  9 2009 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4.3-1
12eebf
- Fixups due to the fedora review process
12eebf
12eebf
* Tue Aug 12 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4.2-1
12eebf
- interrupts: Add find_by_user_regex
12eebf
- process: Always set the "cmdline" array, even if empty
12eebf
- pidstats: Remove dead processes in find_by_name()
12eebf
- pidstats: Add process class to catch dict references for late parsing
12eebf
- pidstats: Move the /proc/PID/{stat,status} parsing to classes
12eebf
- pidstats: Introduce process_flags method
12eebf
12eebf
* Tue Aug 12 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.4-1
12eebf
- Per process flags needed by tuna
12eebf
12eebf
* Fri Jun 13 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.3-1
12eebf
- Support CPU hotplug
12eebf
12eebf
* Mon Feb 25 2008 Arnaldo Carvalho de Melo <acme@redhat.com> - 0.1-1
12eebf
- package created