Bug 748529

Summary: RFE: add python3 subpackage to python-crypto
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: python-cryptoAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmalcolm, paul, s.adam
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-crypto-2.4.1-1.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-10 16:27:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch to add python3 subpackage none

Description Dave Malcolm 2011-10-24 17:24:40 UTC
Description of problem:
As of 2.4, PyCrypto now supports Python 3.

I'm attaching a patch to the specfile which adds a new python3 subpackage, as per https://fedoraproject.org/wiki/Packaging:Python#Subpackages so that the src.rpm emits both python 2 and python 3 support in one build.

This also embeds a new patch that was needed to get the benchmarks to run on Python 3 (see the comments in the specfile):

$ diffstat add-python3-subpackage-to-pycrypto.patch
 fix-pubkey-size-divisions.patch |   16 ++++++
 python-crypto.spec              |   96 +++++++++++++++++++++++++++++++++++++++-
 2 files changed, 111 insertions(+), 1 deletion(-)

Comment 1 Dave Malcolm 2011-10-24 17:25:18 UTC
Created attachment 529929 [details]
Patch to add python3 subpackage

Comment 2 Dave Malcolm 2011-10-24 17:27:33 UTC
(Bugzilla's builtin patch viewer is horribly mangling that patch, alas, but clicking on View shows that it did upload correctly)

Comment 3 Paul Howarth 2011-10-25 15:41:15 UTC
I've done an F-17 build in the f17-gmp koji tag, so as to use the new libgmp. It'll get pulled into Rawhide in due course.

http://koji.fedoraproject.org/koji/taskinfo?taskID=3459511

Comment 4 Paul Howarth 2011-11-10 16:27:19 UTC
Now in Rawhide.