From 8810a59050a8c0d34545a11108a267532444b1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 11 May 2018 23:27:10 +0200 Subject: [PATCH] Only require python3-rpm-generators when built with rewheel Without rewheel is used to bootstrap setuptools+pip python3-rpm-generators needs python3-setuptools, so we cannot have it yet --- python37.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python37.spec b/python37.spec index a0097d9..99fed63 100644 --- a/python37.spec +++ b/python37.spec @@ -484,7 +484,12 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} BuildRequires: python-rpm-macros Requires: python-rpm-macros Requires: python3-rpm-macros + +%if %{with rewheel} +# without rewheel is used to bootstrap setuptools+pip +# python3-rpm-generators needs python3-setuptools, so we cannot have it yet Requires: python3-rpm-generators +%endif # https://bugzilla.redhat.com/show_bug.cgi?id=1217376 # https://bugzilla.redhat.com/show_bug.cgi?id=1496757