diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec index f126dc9..64aa13f 100644 --- a/python-linux-procfs.spec +++ b/python-linux-procfs.spec @@ -1,38 +1,24 @@ %if 0%{?fedora} -%global with_python3 1 %else %global without_python3 1 %endif Name: python-linux-procfs Version: 0.6.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Summary: Linux /proc abstraction classes Source: https://cdn.kernel.org/pub/software/libs/python/%{name}/%{name}-%{version}.tar.xz URL: https://rt.wiki.kernel.org/index.php/Tuna BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: python2-setuptools -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools -%endif %global _description\ Abstractions to extract information from the Linux kernel /proc files. %description %_description -%package -n python2-linux-procfs -Summary: %summary -%{?python_provide:%python_provide python2-linux-procfs} - -Requires: python2-six - -%description -n python2-linux-procfs %_description - -%if 0%{?with_python3} %package -n python3-linux-procfs Summary: %summary %{?python_provide:%python_provide python3-linux-procfs} @@ -40,35 +26,17 @@ Summary: %summary Requires: python3-six %description -n python3-linux-procfs %_description -%endif %prep %autosetup -p1 %build -%py2_build -%if 0%{?with_python3} %py3_build -%endif %install rm -rf %{buildroot} -%py2_install -%if 0%{?with_python3} %py3_install -%endif -%files -n python2-linux-procfs -%defattr(0755,root,root,0755) -%{python2_sitelib}/procfs/ -%if 0%{?without_python3} -%{_bindir}/pflags -%endif -%defattr(0644,root,root,0755) -%{python2_sitelib}/python_linux_procfs*.egg-info -%license COPYING - -%if 0%{?with_python3} %files -n python3-linux-procfs %defattr(0755,root,root,0755) %{_bindir}/pflags @@ -76,9 +44,12 @@ rm -rf %{buildroot} %defattr(0644,root,root,0755) %{python3_sitelib}/python_linux_procfs*.egg-info %license COPYING -%endif %changelog +* Mon Feb 25 2019 Miro HronĨok - 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 - 0.6.1-1 - update to 0.6.1