Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1303610 - libcap-ng-python RPM requires both Python 2 and Python 3
Summary: libcap-ng-python RPM requires both Python 2 and Python 3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libcap-ng
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Grubb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3
TreeView+ depends on / blocked
 
Reported: 2016-02-01 12:41 UTC by Charalampos Stratakis
Modified: 2016-02-03 17:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-03 17:28:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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