From: Jakub Bogusz Date: Mon, 28 Oct 2019 19:30:24 +0000 (+0100) Subject: - BR: python-setuptools X-Git-Tag: auto/th/python-linux-procfs-0.6.3-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-linux-procfs.git;a=commitdiff_plain;h=d07a9e8dd83f582a6d205bbcba63fa24461855ec - BR: python-setuptools --- 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