summaryrefslogtreecommitdiffstats
path: root/Misc/RPM
diff options
context:
space:
mode:
authorSean Reifscheider <jafo@tummy.com>2010-11-07 21:26:53 (GMT)
committerSean Reifscheider <jafo@tummy.com>2010-11-07 21:26:53 (GMT)
commit9aad7fe456a3b88f55c2371193e1b8bf095f1b68 (patch)
treefa0459d0654eb9ae9610281fb15e16da2d5ba4a0 /Misc/RPM
parentd95c7b5f8a9ec9e09dac90d420a39b5b86f4b2c6 (diff)
downloadcpython-9aad7fe456a3b88f55c2371193e1b8bf095f1b68.zip
cpython-9aad7fe456a3b88f55c2371193e1b8bf095f1b68.tar.gz
cpython-9aad7fe456a3b88f55c2371193e1b8bf095f1b68.tar.bz2
Removing reference to ftp.python.org and enhancing RPM README.
Diffstat (limited to 'Misc/RPM')
-rw-r--r--Misc/RPM/README27
1 files changed, 22 insertions, 5 deletions
diff --git a/Misc/RPM/README b/Misc/RPM/README
index f3a2557..5b949d4 100644
--- a/Misc/RPM/README
+++ b/Misc/RPM/README
@@ -2,11 +2,6 @@ This directory contains support file used to build RPM releases of
Python. Its contents are maintained by Sean Reifschneider
<jafo@tummy.com>.
-It is recommended that RPM builders use the python*.src.rpm file
-downloaded from the "ftp.python.org:/pub/python/<version>/rpms". These
-may be more up to date than the files included in the base Python
-release tar-file.
-
If you wish to build RPMs from the base Python release tar-file, note
that you will have to download the
"doc/<version>/html-<version>.tar.bz2"
@@ -14,3 +9,25 @@ file from python.org and place it into your "SOURCES" directory for
the build to complete. This is the same directory that you place the
Python-2.3.1 release tar-file in. You can then use the ".spec" file in
this directory to build RPMs.
+
+You may also wish to pursue RPMs provided by distribution makers to see if
+they have one suitable for your uses. If, for example, you just want a
+slightly newer version of Python than what the distro provides, you could
+pick up the closest SRPM your distro provides, and then modify it to
+the newer version, and build that. It may be as simple as just changing
+the "version" information in the spec file (or it may require fixing
+patches).
+
+NOTE: I am *NOT* recommending just using the binary RPM, and never do an
+install with "--force" or "--nodeps".
+
+Also worth pursuing may be newer versions provided by similar distros. For
+example, a Python 3 SRPM from Fedora may be a good baseline to try building
+on CentOS.
+
+Many newer SRPMs won't install on older distros because of format changes.
+You can anually extract these SRPMS with:
+
+ mkdir foo
+ cd foo
+ rpm2cpio <../python3-*.src.rpm | cpio -ivd