Red Hat Bugzilla – Bug 1479861
python-atfork: Missing build-time dependency on python2-devel
Last modified: 2017-08-18 06:42:03 EDT
Created attachment 1311255 [details]
Add a build-time dependency on python2-devel
A build-time dependency on python2-devel is missing.
This is the reason why the dependency on Python itself is not generated for python-atfork-0:0.1.2-12.fc27:
$ dnf repoquery --disablerepo=* --enablerepo=rawhide --requires python-atfork | grep python
According to Fedora Packaging Guidelines for Python , packages building for Python 2 need BuildRequires: python2-devel.
I have attached the patch which adds a missing build-time dependency and modernizes the spec file. Please review it and apply.
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.
Also created a Pagure PR with a patch:
I merged the PR.