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 1313932
Summary: | coccinelle: Provide a Python 3 subpackage | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> | ||||||||
Component: | coccinelle | Assignee: | Tomas Orsava <torsava> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | dkrejci, mhroncok, rjones, torsava | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | coccinelle-1.0.4-6.fc25 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-05-11 09:59:45 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, 1333770 | ||||||||||
Attachments: |
|
Description
Tomas Orsava
2016-03-02 16:04:53 UTC
I think it'd be better for everyone if the Python team just went in and made the changes. Apparently building twice and setting PYTHON=/usr/bin/python3 the second time should be sufficient. Created attachment 1148891 [details] Python 3 patch for specfile SRPM: https://copr-be.cloud.fedoraproject.org/results/dkrejci/coccinelle/fedora-rawhide-x86_64/00175584-coccinelle/coccinelle-1.0.4-5.fc25.src.rpm Copr link: https://copr.fedorainfracloud.org/coprs/dkrejci/coccinelle/build/175584/ Created attachment 1150970 [details]
Patch to port the specfile to Python 3
I polished Dominika's patch a bit. Specifically I've done away with the removal of the devel-file as we aren't sure at this point if it is needed or not. Better to live with an RPMlint warning.
Here's a Koji scratch build of the resulting SRPM: http://koji.fedoraproject.org/koji/taskinfo?taskID=13810091 Let's roll. Waiting only on ARM build. Tomáš, Dominika, please check if everything works as expected ARM build finished. Created attachment 1152968 [details]
Patch to change shebang to Python 3
I checked it in mock and found out I forgot one shebang still pointing to Python 2. I attached a patch (against the current contents of the dist-git) that fixes the issue.
I apologize for the omission.
Here's a link to a Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=13930548 Thanks for fixing/implementing this. We're glad to have helped, Richard! Do you think you could test the package if it's working as expected? I'm not as familiar with the package, but after some testing inside mock, everything looks good! Thanks everyone! |