From 7cc03cbe60f9b0ba80208050ee080d6d2050a1f1 Mon Sep 17 00:00:00 2001 From: s17723959267 Date: Fri, 11 Sep 2020 15:17:01 +0800 Subject: [PATCH] remove python2 require --- python-linux-procfs.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec index 25c1f0e..29390e8 100644 --- a/python-linux-procfs.spec +++ b/python-linux-procfs.spec @@ -3,26 +3,18 @@ Python classes to extract information from the Linux kernel /proc files. Name: python-linux-procfs Version: 0.6.2 -Release: 3 +Release: 4 Summary: Linux /proc abstraction classes License: GPLv2 URL: https://rt.wiki.kernel.org/index.php/Tuna Source: https://git.kernel.org/pub/scm/libs/python/%{name}/%{name}.git/snapshot/%{name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel python2-setuptools BuildRequires: python3-devel python3-setuptools Patch6000: backport-Fix-import-of-utilist.patch %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 - %package -n python3-linux-procfs Summary: %summary %{?python_provide:%python_provide python3-linux-procfs} @@ -34,21 +26,11 @@ Requires: python3-six %autosetup -p1 %build -%py2_build %py3_build %install -%py2_install %py3_install -%files -n python2-linux-procfs -%defattr(0755,root,root,0755) -%{python2_sitelib}/procfs/ -%{_bindir}/pflags -%defattr(0644,root,root,0755) -%{python2_sitelib}/*.egg-info -%license COPYING - %files -n python3-linux-procfs %defattr(0755,root,root,0755) %{_bindir}/pflags @@ -58,6 +40,9 @@ Requires: python3-six %license COPYING %changelog +* Fri Sep 11 2020 wenzhanli - 0.6.2-4 +- Remove python2 require + * Sat Sep 5 2020 shixuantong - 0.6.2-3 - update Source0 -- Gitee