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 1282140

Summary: python-cclib: python2 subpackage provides python3 binaries
Product: [Fedora] Fedora Reporter: Eduardo Mayorga <e>
Component: python-cclibAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: e, nonamedotc, pviktori
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: 2015-12-07 22:33:32 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: 1282146, 1285816    
Attachments:
Description Flags
Proposed patch.
none
Proposed patch. none

Description Eduardo Mayorga 2015-11-15 03:12:41 UTC
Created attachment 1094306 [details]
Proposed patch.

The version of the Python interpreter in binaries is confusing. Packaging guidelines state: 

If executables are to be shipped for both python 2 and python 3:

    Both python 2 and python 3 variants must provide symlinks with a '-X' and '-X.Y' suffix (python runtime major version, or python runtime major.minor version), unless upstream already provides appropriately versioned executables without the dash.

Comment 1 Eduardo Mayorga 2015-11-15 03:57:50 UTC
*** Bug 1282141 has been marked as a duplicate of this bug. ***

Comment 2 Mukundan Ragavan 2015-11-15 13:13:08 UTC
Thanks for the patch. That seems fair enough. I will fix it.

Comment 3 Eduardo Mayorga 2015-11-15 15:38:28 UTC
Created attachment 1094489 [details]
Proposed patch.

It looks like the patch is not formatted properly. I'm reattaching it.

Comment 4 Mukundan Ragavan 2015-11-15 23:06:03 UTC
Thanks, I was also able to recover the patch from the vim swp file.

As it is, I will be travelling and it's likely I will be updating the package only on Friday .. :(

Comment 5 Mukundan Ragavan 2015-12-07 22:33:32 UTC
Oops! Meant to close it as "Rawhide" not as "not a bug".

http://koji.fedoraproject.org/koji/buildinfo?buildID=703968