[packages/python-linux-procfs] - BR: python-setuptools

qboosh qboosh at pld-linux.org
Mon Oct 28 20:30:31 CET 2019


commit d07a9e8dd83f582a6d205bbcba63fa24461855ec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 28 20:30:24 2019 +0100

    - BR: python-setuptools

 python-linux-procfs.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-linux-procfs.spec b/python-linux-procfs.spec
index 82ecb1f..de4834b 100644
--- a/python-linux-procfs.spec
+++ b/python-linux-procfs.spec
@@ -13,12 +13,16 @@ Group:		Libraries/Python
 Source0:	https://www.kernel.org/pub/software/libs/python/python-linux-procfs/%{name}-%{version}.tar.xz
 # Source0-md5:	96f82184062ca76f393a00edce1fad5a
 URL:		https://rt.wiki.kernel.org/index.php/Tuna
+%if %{with python2}
 BuildRequires:	python-modules >= 2
-BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
+BuildRequires:	python-setuptools
+%endif
 %if %{with python3}
 BuildRequires:	python3-modules >= 1:3.2
+BuildRequires:	python3-setuptools
 %endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 BuildArch:	noarch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-linux-procfs.git/commitdiff/d07a9e8dd83f582a6d205bbcba63fa24461855ec



More information about the pld-cvs-commit mailing list