Description of problem:
In order to build a python 3.6 package that doesn't also build python 3.4, python3-rpm-macros must be added to BuildRequires. This isn't necessary for python 3.4 or python 2.6 packages, whose -devel packages correctly require the corresponding rpm-macros packages.
Version-Release number of selected component (if applicable): python36-devel-3.6.6-1.el7
How reproducible: 100%
Steps to Reproduce:
1. In a buildroot, install python36-devel
2. Try to build a python 3.6 package
3. Observe missing file /usr/lib/rpm/macros.d/macros.python3
macros.python3 is not installed, meaning that %__python3_other and related macros are not defined.
Same behavior as python 3.4 - only BuildRequires: python36-devel is needed.
We were just talking about this with Tomáš Orsava yesterday, juts forgot to file the bug.
Yes, this needs to be fixed.
Scott, would you be able to submit a pull request?
Of course, expect it later today. Thanks!
Here is the PR: https://src.fedoraproject.org/rpms/python36/pull-request/18
python36-3.6.6-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-42f4b760d9
python36-3.6.6-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-42f4b760d9
python36-3.6.6-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.