Building rpm for /usr/local/bin/python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
I've modified the centos RPM .spec file to create an alternate install of
python as version 2.4.4 in /usr/local/bin/*. This works great, however the
RPM ends up installing what seems is the system binary of python into
/usr/local/bin (verified by version# and compile date). 
 
Spec file for reference: http://indigo.nu/~indigo/python.spec 

This is strange because the during the build process it seem to build this
strange version inside of /usr/src/redhat/BUILD/Python-2.4.4/python 
(running this build during the rpmbuild process shows it as:)

[code]

[root@localhost Python-2.4.4]# pwd
/usr/src/redhat/BUILD/Python-2.4.4
[root@localhost Python-2.4.4]# ./python 
Python 2.4.3 (#1, Mar 14 2007, 19:01:42) 
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 

[/code]

If I *just* built this code, why is the build date March 14.... and more
importantly where did it get Python2.4.3 as a version? This is the same as
standard system python. Where is it getting this from????

Im going insane...slowly Thanks for all your help!







_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux