Bug 1479415

Summary: bzr-fastimport: Missing build-time dependency on python2-devel
Product: [Fedora] Fedora Reporter: Iryna Shcherbina <ishcherb>
Component: bzr-fastimportAssignee: Dan Callaghan <dcallagh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dcallagh, pingou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bzr-fastimport-0.13.0-11.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-14 06:39:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Adds a missing build-time dependency on python2-devel none

Description Iryna Shcherbina 2017-08-08 14:23:47 UTC
Created attachment 1310633 [details]
Adds a missing build-time dependency on python2-devel

The bzr-fastimport RPM is missing the build-time dependency on python2-devel.

This is the reason why the dependency on Python itself is not generated for bzr-fastimport-0.13.0-10.fc27:

$ dnf repoquery --disablerepo=* --enablerepo=rawhide --requires bzr-fastimport
bzr
python-fastimport

According to Fedora Packaging Guidelines for Python [0], 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.

[0] https://fedoraproject.org/wiki/Packaging:Python#Dependencies

Comment 1 Dan Callaghan 2017-08-14 06:39:58 UTC
Thanks! Applied.