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: lcgdmAssignee: Mattias Ellert <mattias.ellert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: el5CC: 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:
Description Flags
Patch EPEL5 spec file to enable python26 builds of dpm and lfc.
none
Patch EPEL5 spec file to enable python26 builds of dpm and lfc. v2 none

Description Steve Traylen 2010-06-20 10:03:08 UTC
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:]]' || :

Comment 1 Steve Traylen 2010-06-21 20:41:23 UTC
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.

Comment 2 Fedora Update System 2010-06-27 10:51:55 UTC
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

Comment 3 Fedora Update System 2010-06-27 10:52:00 UTC
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

Comment 4 Fedora Update System 2010-06-27 10:52:05 UTC
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

Comment 5 Fedora Update System 2010-06-27 10:52:09 UTC
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

Comment 6 Fedora Update System 2010-06-28 17:21:25 UTC
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

Comment 7 Fedora Update System 2010-06-28 17:22:30 UTC
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

Comment 8 Fedora Update System 2010-06-30 14:22:48 UTC
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

Comment 9 Fedora Update System 2010-06-30 14:24:07 UTC
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

Comment 10 Fedora Update System 2010-07-09 18:56:52 UTC
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

Comment 11 Fedora Update System 2010-07-09 18:56:57 UTC
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

Comment 12 Fedora Update System 2010-07-13 07:46:24 UTC
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.

Comment 13 Fedora Update System 2010-07-13 07:52:54 UTC
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.

Comment 14 Fedora Update System 2010-07-21 12:23:45 UTC
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.

Comment 15 Fedora Update System 2010-07-21 12:24:08 UTC
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.