Bug 1303610 - libcap-ng-python RPM requires both Python 2 and Python 3
libcap-ng-python RPM requires both Python 2 and Python 3
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: libcap-ng (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Steve Grubb
Fedora Extras Quality Assurance
:
Depends On:
Blocks: PYTHON3
  Show dependency treegraph
 
Reported: 2016-02-01 07:41 EST by Charalampos Stratakis
Modified: 2016-02-03 12:28 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-03 12:28:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Charalampos Stratakis 2016-02-01 07:41:41 EST
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 12:28:04 EST
Its now fixed in rawhide. Will push over to F23 at some point.

Note You need to log in before you can comment on or make changes to this bug.