e729d34
924bde6
@@ -18,7 +18,7 @@
%package -n python2-%{srcname}
Summary: %{summary}
BuildRequires: python2-devel
- BuildRequires: python%{?fedora:2}-setuptools
+ BuildRequires: python2-setuptools
%{?python_provide:%python_provide python2-%{srcname}}
There's no package python-setuptools on EPEL 8+
python-setuptools
At the time I wrote this line it was necessary, but now python2-setuptools works everywhere. As you noted EL8 has python2-setuptools. EL7's python-setuptools provides python2-setuptools. EPEL6 has a dummy python2-setuptools package that requires python-setuptools.
Let's just drop the conditional entirely and change it to plain BuildRequires: python2-setuptools.
BuildRequires: python2-setuptools
1 new commit added
Drop conditionals as python2-setuptools is available everywhere
Pull-Request has been merged by carlwgeorge
There's no package
python-setuptools
on EPEL 8+