diff --git a/python-pysocks.spec b/python-pysocks.spec index b663fcc..bcc55ab 100644 --- a/python-pysocks.spec +++ b/python-pysocks.spec @@ -28,6 +28,7 @@ Acts as a drop-in replacement to the socket module. Featuring: %package -n python2-%{flatname} Summary: %{sum} BuildRequires: python2-devel +BuildRequires: python%{?fedora:2}-setuptools %{?python_provide:%python_provide python2-%{flatname}} # https://bugzilla.redhat.com/show_bug.cgi?id=1334407 @@ -52,6 +53,7 @@ Acts as a drop-in replacement to the socket module. Featuring: %package -n python%{python3_pkgversion}-%{flatname} Summary: %{sum} BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools %{?python_provide:%python_provide python%{python3_pkgversion}-%{flatname}} # This package doesn't actually exist... but if it did, we would conflict with @@ -112,6 +114,7 @@ Acts as a drop-in replacement to the socket module. Featuring: %changelog * Mon Sep 11 2017 Carl George - 1.6.7-1 - Latest upstream +- Add setuptools dependency * Thu Jul 27 2017 Fedora Release Engineering - 1.5.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild