Bug 606056 - RFE: patch to enable python26 build of lfc and dpm on EL5.
Summary: RFE: patch to enable python26 build of lfc and dpm on EL5.
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: lcgdm
Version: el5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-20 10:03 UTC by Steve Traylen
Modified: 2010-07-21 12:24 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-07-13 07:46:29 UTC


Attachments (Terms of Use)
Patch EPEL5 spec file to enable python26 builds of dpm and lfc. (7.13 KB, patch)
2010-06-20 10:03 UTC, Steve Traylen
no flags Details | Diff
Patch EPEL5 spec file to enable python26 builds of dpm and lfc. v2 (7.11 KB, patch)
2010-06-21 20:41 UTC, Steve Traylen
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.