Please don't do that. Use the vBB [QUOTE][/QUOTE] tags around [QUOTE]what you want to quote[/QUOTE] and post your reply beneath that. It's easier quoting for you and me and you don't need to mess with fonts, colors, sizes or anything else, TIA.
Are you referring to these lines in the spec file?
#mkdir -p $RPM_BUILD_ROOT/tmp/eggs_install
#install -m 700 setuptools-0.6c11-py2.7.egg $RPM_BUILD_ROOT/tmp/eggs_install/setuptools-0.6c11-py2.7.egg
No lines like
in the %files section.
*BTW /etc/ld.so.conf.d/opt-python2.7.3.conf shouldn't be in the %files section either as you create it in %post as it won't show in either 'rpm -ql python-2.7.3|grep ld.so.conf.d/', 'rpm -Vv python-2.7.3' or 'rpm -qf /etc/ld.so.conf.d/opt-python2.7.3.conf'.
If so I did that so the rpm could install the egg file with the --prefix= option. I handn't added that in yet since I couldn't even get past the point where install -m 700 setuptools-0.6c11-py2.7.egg $RPM_BUILD_ROOT/tmp/eggs_install/setuptools-0.6c11-py2.7.egg was to run.
One thing I'm not clear about is if the egg should be run after Python is successfully installed. If it doesn't then you could untar it in $RPM_BUILD_ROOT/, cd into the directory and 'export PATH=/opt/python2.7/bin:$PATH; /bin/sh ./setuptools-0.6c11-py2.7.egg --prefix=/opt/python2.7.3'. OTOH if it needs to be installed only after successful installation
then there's two choices I can see: create a separate package (odd since it's a dependency in only the installation order
sense) or make the tar ball contents part of the main Python package (say /opt/python2.7.3/share/lib/setuptools/) and execute as a %postinst...
Perhaps my initial post wasn't very clear but this isn't a drop in replacement. Which is why I'm installing this under /opt/python2.7.3,providing a symlink as /usr/bin/python2.7 to /opt/python2.7.3/bin/python, and installing setuptools so it points to /opt/python2.7.3
OK, clear. Even so be careful and test exhaustively as Python b0rkage isn't the kind of fun your clients expect ;-p