Bug 168751
Summary: | rhpl hardcodes the python version, making it harder to backport | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Toshio Kuratomi <toshio> | ||||
Component: | rhpl | Assignee: | Jeremy Katz <katzj> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-02-02 23:05:10 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 150222 | ||||||
Attachments: |
|
Description
Toshio Kuratomi
2005-09-20 01:58:00 UTC
Created attachment 119008 [details]
Patch to let rhpl's Makefile detect the python version
This is a simple patch to Makefile.inc. It runs the same python version
detection code as rpm's pythondeps.sh script to determine which version of
python we're building with so the package will be built with the correct
includes and installed to the correct directory.
Notes: This works as long as the build system has the version of python
installed in the path that the package is to be compiled to. This is true for
the Extras build system but I don't know if it's the case for the current Core
buildsystem.
rhpl is about to undergo a variety of changes (to make it more sane for me to maintain). One of the changes is probably going to involve me switching it to using distutils. So I'm going to hold off on applying this for now. I'll stick it on FC5Blocker, though, so that it doesn't get lost. Nice. FWIW, my first attempt to make this sane was to create a distutils setup script but I realized that distutils doesn't have a "target" for message catalogs so the po directory would require extra work to build. Didn't get all I wanted to done with rhpl for FC5, but went ahead and applied this in CVS |