Compare commits

...

2 Commits

Author SHA1 Message Date
AlmaLinux RelEng Bot
165489fff4 import UBI python-linux-procfs-0.7.4-1.el10 2026-05-19 19:40:33 -04:00
b0aa15c47c import UBI python-linux-procfs-0.7.3-7.el10 2025-05-14 19:22:22 +00:00
4 changed files with 105 additions and 88 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/python-linux-procfs-0.7.3.tar.xz python-linux-procfs-0.7.4.tar.xz

View File

@ -1 +0,0 @@
cadcfaacbea308c70b25a4ae83177f7c669a56b7 SOURCES/python-linux-procfs-0.7.3.tar.xz

View File

@ -1,137 +1,154 @@
%if 0%{?fedora}
%else
%global without_python3 1
%endif
Name: python-linux-procfs Name: python-linux-procfs
Version: 0.7.3 Version: 0.7.4
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPL-2.0-only
Summary: Linux /proc abstraction classes Summary: Linux /proc abstraction classes
Group: System Environment/Libraries Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
URL: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git URL: https://rt.wiki.kernel.org/index.php/Tuna
Source: https://www.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: pyproject-rpm-macros
%global _description\ %global _description\
Abstractions to extract information from the Linux kernel /proc files. Abstractions to extract information from the Linux kernel /proc files.
# PATCHES
%description %_description %description %_description
%package -n python3-linux-procfs %package -n python3-linux-procfs
Summary: %summary Summary: %summary
%{?python_provide:%python_provide python3-linux-procfs} %{?python_provide:%python_provide python3-linux-procfs}
Requires: python3-six
%description -n python3-linux-procfs %_description %description -n python3-linux-procfs %_description
%prep %prep
%autosetup -p1 %autosetup -p1
%generate_buildrequires
%pyproject_buildrequires
%build %build
%py3_build %pyproject_wheel
%install %install
rm -rf %{buildroot} %pyproject_install
%py3_install %pyproject_save_files procfs
%files -n python3-linux-procfs %files -n python3-linux-procfs -f %{pyproject_files}
%defattr(0755,root,root,0755)
%{_bindir}/pflags %{_bindir}/pflags
%{python3_sitelib}/procfs/
%defattr(0644,root,root,0755)
%{python3_sitelib}/python_linux_procfs*.egg-info
%license COPYING %license COPYING
%changelog %changelog
* Fri Nov 10 2023 John Kacur <jkacur@redhat.com> - 0.7.3-1 * Wed Oct 22 2025 John Kacur <jkacur@redhat.com> - 0.7.4-1
- Rebase to upstream python-linux-procfs-0.7.3 - Rebase to upstream version 0.7.4
- This rebase removes upstream spec files and - Convert to pyproject-based build using pyproject.toml
- syncs the git tag with version - Remove python3-six dependency (no longer needed)
Resolves: RHEL-9195 - Remove distutils patch (no longer needed with pyproject build)
Resolves: RHEL-114904
* Thu Oct 26 2023 John Kacur <jkacur@redhat.com> - 0.7.2-1 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.7.3-7
Rebase to python-linux-procfs - 0.7.2 - Bump release for October 2024 mass rebuild:
Resolves: RHEL-8987 Resolves: RHEL-64018
* Fri Nov 18 2022 John Kacur <jkacur@redhat.com> - 0.7.1-1 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.7.3-6
- Rebase to upstream version python-linux-procfs-0.7.1 - Bump release for June 2024 mass rebuild
Resolves: rhbz#2121522
* Tue Jan 11 2022 John Kacur <jkacur@redhat.com> - 0.7.0-1 * Tue Mar 26 2024 John Kacur <jkacur@redhat.com> - 0.7.3-5
- Rebase to upstream version python-linux-procfs-0.7.0 - Add gating.yaml
Resolves: rhbz#2031158 - Add tests dir
Resolves: RHEL-30433
* Thu Dec 09 2021 John Kacur <jkacur@redhat.com> - 0.6.3-4 * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-4
- various clean-ups including using 'with' context managers in try-except - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Fix to ignore UnicodeDecodeError when it occurs
Resolves: rhbz#2016204
* Tue Nov 23 2021 John Kacur <jkacur@redhat.com> - 0.6.3-3 * Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.3-3
- Propagate error to user if pid completed - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Handle pid completed in pflags
Resolves: rhbz#1820709
* Fri Nov 19 2021 John Kacur <jkacur@redhat.com> - 0.6.3-2 * Sat Dec 02 2023 John Kacur <jkacur@redhat.com> - 0.7.3-2
- Fix traceback with non-utf8 chars - Update the SPDX license tag in the specfile
Resolves: rhbz#2016204
* Tue Jan 12 2021 John Kacur <jkacur@redhat.com> - 0.6.3-1 * Sat Dec 02 2023 John Kacur <jkacur@redhat.com> - 0.7.3-1
- Rebase to latest upstream - Update to the latest upstream version v0.7.3
- Correct URL and Source - Use an SPDX license tag in the specfile
- Simplify specfile
Resolves: rhbz#1890557
* Wed Jun 24 2020 John Kacur <jkacur@redhat.com> - 0.6.2-2 * Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
Resolves: rhbz#1850391 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jun 22 2020 John Kacur <jkacur@redhat.com> - 0.6.2-1 * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.7.1-2
- Add bitmasklist_test - Rebuilt for Python 3.12
- Clean-ups including using a more modern python spacing, tabbing, etc
- Fix to parse number of cpus correctly on s390(x)
Resolves: rhbz#1849215
* Wed Apr 03 2019 Clark Williams <williams@redhat.com> - 0.6-7 * Thu Feb 16 2023 John Kacur <jkacur@redhat.com> - 0.7.1-1
- OSCI gating framework added - Rebase to 0.7.1 upstream
Resolves: rhbz#1682424 - Add upstream patch to remove use of distutils
* Mon Jan 28 2019 John Kacur <jkacur@redhat.com> - 0.6-6 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
- fix refreshing the cache - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- fix removing vanished processes in pidstats
Resolves: rhbz#1669294
* Fri Nov 30 2018 John Kacur <jkacur@redhat.com> - 0.6-5 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
- pflags - Ignore non-existent pids or process names - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Resolves: rhbz#1654312
* Wed Nov 28 2018 John Kacur <jkacur@redhat.com> - 0.6-4 * Thu Jul 07 2022 Jiri Kastner <jkastner@fedoraproject.org> - 0.7.0-4
- Use argparse to create a help option - Rebuilt for Python 3.11 - episodfe ii
Resolves: rhbz#1650159
* Tue Oct 16 2018 John Kacur <jkacur@redhat.com> - 0.6-3 * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.0-3
- python3 doesn't supply "reduce" by default, so import it - Rebuilt for Python 3.11
Resolves: rhbz#1639430
* Mon Aug 13 2018 John Kacur <jkacur@redhat.com> - 0.6-2 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
- Obsoltes python-linux-procfs (just build the python3 version) - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Resolves: rhbz#1589042
* Fri Aug 10 2018 John Kacur <jkacur@redhat.com> - 0.6-1 * Tue Jan 11 2022 Federico Pellegrin <fede@evolware.org> - 0.7.0-1
- Sync with upstream source - update to 0.7.0 (various fixes and cleanups)
Resolves: rhbz#1614869
* Wed Aug 8 2018 John Kacur <jkacur@redhat.com> - 0.5.1-7 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
- Add some functions related to affinity from tuna - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Resolves: rhbz#1522868
* Tue Jun 26 2018 John Kacur <jkacur@redhat.com> - 0.5.1-6 * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.3-2
- Fix upstream URL reference and source - Rebuilt for Python 3.10
Resolves: rhbz#1589938
* Thu May 31 2018 John Kacur <jkacur@redhat.com> - 0.5.1-5 * Fri May 28 2021 Jiri Kastner <jkastner@fedoraproject.org> - 0.6.3-1
- Build only the python3 subpackage (needs to be done in rhel-8.0 too) - update to 0.6.3
Resolves: rhbz#1567234
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-7
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-5
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-4
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Feb 25 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-2
- Subpackage python2-linux-procfs has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Tue Feb 5 2019 Jiri Kastner <jkastner@redhat.com> - 0.6.1-1
- update to 0.6.1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.1-5
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (python-linux-procfs-0.7.4.tar.xz) = 77bd0cc1d33a930bc63afdd7d72d4e69ec7f343922682e028a6547d53da996d6b89883d7bc8639f367fa6d6e61fd924b13ca11a7d7ae88de25dba7789e280aa4