Bug 606056
Summary: | RFE: patch to enable python26 build of lfc and dpm on EL5. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Steve Traylen <steve.traylen> | ||||||
Component: | lcgdm | Assignee: | Mattias Ellert <mattias.ellert> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | el5 | CC: | mattias.ellert, steve.traylen | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | lcgdm-1.7.4.7-2.el5 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-07-13 07:46:29 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 425742 [details]
Patch EPEL5 spec file to enable python26 builds of dpm and lfc. v2
Correction, dpm-listspaces should not be in the dpm-python26 as well.
lcgdm-1.7.4.7-2.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.el5 lcgdm-1.7.4.7-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.fc13 lcgdm-1.7.4.7-2.el4 has been submitted as an update for Fedora EPEL 4. http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.el4 lcgdm-1.7.4.7-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.fc12 lcgdm-1.7.4.7-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lcgdm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.fc13 lcgdm-1.7.4.7-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lcgdm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.fc12 lcgdm-1.7.4.7-2.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lcgdm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.el5 lcgdm-1.7.4.7-2.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lcgdm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.el4 lcgdm-1.7.4.7-2.el4 has been pushed to the Fedora EPEL 4 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lcgdm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.el4 lcgdm-1.7.4.7-2.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update lcgdm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lcgdm-1.7.4.7-2.el5 lcgdm-1.7.4.7-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. lcgdm-1.7.4.7-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. lcgdm-1.7.4.7-2.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report. lcgdm-1.7.4.7-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 425423 [details] Patch EPEL5 spec file to enable python26 builds of dpm and lfc. This patch to the head of EL-5 spec enables an lfc-python26 and dpm-python26. The only bit that is ugly is the install of the modules is done within the .spec file. If you can persuade the build for these to make only these then make install could be used. As it stands though it does work. The extra source file is lifted from an rpm macro in fedora 13 and gives a more flexible byte_compile command. $ cat py_byte_compile.sh #!/bin/bash python_binary="$1" bytecode_compilation_path="$2" find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("$RPM_BUILD_ROOT")[2]) for f in sys.argv[1:]]' || : find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -O -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("$RPM_BUILD_ROOT")[2]) for f in sys.argv[1:]]' || :