Bug 1303610

Summary: libcap-ng-python RPM requires both Python 2 and Python 3
Product: [Fedora] Fedora Reporter: Charalampos Stratakis <cstratak>
Component: libcap-ngAssignee: Steve Grubb <sgrubb>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: pviktori, sgrubb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-03 17:28:04 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:
Bug Depends On:    
Bug Blocks: 1285816    

Description Charalampos Stratakis 2016-02-01 12:41:41 UTC
The libcap-ng-python RPM requires both Python 2 and Python 3.

Except in very special circumstances, there is no need for one package
to drag in both Python stacks. This is a packaging error: the "/python?.?/" in the %files section will expand to both python2.? and python3.?.

The destination directory for python and python3 files should use %{python2_sitearch} and %{python3_sitearch} macros, respectively. See [0]

Please fix the spec file.

It's fine to do this in Rawhide only.


If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!

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

Comment 1 Steve Grubb 2016-02-03 17:28:04 UTC
Its now fixed in rawhide. Will push over to F23 at some point.