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