Comment 29 for bug 344079

Revision history for this message
In , Savvas (savvas-redhat-bugs) wrote :

I'm not very familiar with the rpm packaging system, but in case fedora wants to temporarily fix this (as downstream):
- make python 2.5 devel available during build (python-devel-2.5 ?).
- restrict it to python < 2.6 until a fix is out
- something like the following lines in the .spec file:

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
for i in `find %{buildroot} -type f`; \
  do sed -i -e '1s,#!.*python.*,#!/usr/bin/python2.5,' $i; \
done

(not tested on fedora/redhat)