diff --git a/python-linux-procfs-0.7.0.tar.gz b/python-linux-procfs-0.7.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3ef79f1eb26126041c7673b08b51147acc9ad3f5 Binary files /dev/null and b/python-linux-procfs-0.7.0.tar.gz differ diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec new file mode 100644 index 0000000000000000000000000000000000000000..3f8e276b411b71c292b9573a12bab67269c29e39 --- /dev/null +++ b/python-linux-procfs.spec @@ -0,0 +1,46 @@ +%define anolis_release 1 +Name: python-linux-procfs +Version: 0.7.0 +Release: %{anolis_release}%{?dist} +License: GPLv2 +Summary: Linux /proc abstraction classes +Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.gz +URL: https://rt.wiki.kernel.org/index.php/Tuna +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%global _description\ +Abstractions to extract information from the Linux kernel /proc files. + +%description %_description + +%package -n python3-linux-procfs +Summary: %summary +%{?python_provide:%python_provide python3-linux-procfs} + +Requires: python3-six + +%description -n python3-linux-procfs %_description + +%prep +%autosetup -p1 + +%build +%py3_build + +%install +rm -rf %{buildroot} +%py3_install + +%files -n python3-linux-procfs +%defattr(0755,root,root,0755) +%{_bindir}/pflags +%{python3_sitelib}/procfs/ +%defattr(0644,root,root,0755) +%{python3_sitelib}/python_linux_procfs*.egg-info +%license COPYING + +%changelog +* Thu Mar 10 2022 zl01087097 - 0.7.0-1 +- upstream version 0.7.0