From 85f1f101a4b640905f4769076c5e1fc27f0db613 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 5 Sep 2017 10:20:34 +0200 Subject: [PATCH] Need to build python3 as well as python2 version of some packages Explanation in the added commend under buildopts.rpms.macros. --- python2.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/python2.yaml b/python2.yaml index c9d2573..6d029e2 100644 --- a/python2.yaml +++ b/python2.yaml @@ -65,6 +65,9 @@ data: filter: rpms: - python2-tkinter + - python3-wheel + - python3-setuptools + - python3-pip api: rpms: - python2 @@ -78,10 +81,17 @@ data: buildopts: rpms: macros: | - # setuptools & pip & wheel - %_without_python3 1 # setuptools %_without_platform_python 1 + + # Note that we cannot disable building of Python 3 subpackages, + # because python2-devel (needed to build all Python 2 packages) + # has a runtime dependency on python3-rpm-generators, and that + # package requires python3-setuptools at runtime. By rebuilding + # python-setuptools SRPM with only python2, we overshadow the + # already built python3 subpackage and it is no longer + # available for python3-rpm-generators when building python-pip + # (or any other Python package). components: rpms: python-wheel: