diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2003-09-24 01:36:13 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2003-09-24 01:36:13 (GMT) |
commit | fd95c3a46688a643970c98349306d5f3389853fa (patch) | |
tree | 73c5b66fd0e94892eb0b8826db00adee560dd09d /Misc/RPM | |
parent | ffe469e82722891d9df4511ccc5fa82725c378f6 (diff) | |
download | cpython-fd95c3a46688a643970c98349306d5f3389853fa.zip cpython-fd95c3a46688a643970c98349306d5f3389853fa.tar.gz cpython-fd95c3a46688a643970c98349306d5f3389853fa.tar.bz2 |
updates from sean
Diffstat (limited to 'Misc/RPM')
-rw-r--r-- | Misc/RPM/Python-2.1-expat.patch | 22 | ||||
-rw-r--r-- | Misc/RPM/Python-2.1-pythonpath.patch | 27 | ||||
-rw-r--r-- | Misc/RPM/README | 14 |
3 files changed, 12 insertions, 51 deletions
diff --git a/Misc/RPM/Python-2.1-expat.patch b/Misc/RPM/Python-2.1-expat.patch deleted file mode 100644 index 3686458..0000000 --- a/Misc/RPM/Python-2.1-expat.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- Modules/pyexpat.c.old Tue Mar 6 02:30:48 2001 -+++ Modules/pyexpat.c Tue Mar 6 02:31:15 2001 -@@ -12,7 +12,7 @@ - #define EXPAT_VERSION 0x015f00 - #endif - #else /* !defined(HAVE_EXPAT_H) */ --#include "xmlparse.h" -+#include "expat/xmlparse.h" - /* Assume Expat 1.1 unless told otherwise */ - #ifndef EXPAT_VERSION - #define EXPAT_VERSION 0x010100 ---- setup.py-orig Fri Feb 2 11:24:25 2001 -+++ setup.py Wed Feb 14 18:13:15 2001 -@@ -445,7 +445,7 @@ - # expat.h was found - expat_defs = [('HAVE_EXPAT_H', 1)] - else: -- expat_incs = find_file('xmlparse.h', inc_dirs, []) -+ expat_incs = find_file('expat/xmlparse.h', inc_dirs, []) - - if (expat_incs is not None and - self.compiler.find_library_file(lib_dirs, 'expat')): diff --git a/Misc/RPM/Python-2.1-pythonpath.patch b/Misc/RPM/Python-2.1-pythonpath.patch deleted file mode 100644 index a628128..0000000 --- a/Misc/RPM/Python-2.1-pythonpath.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -ur Python-2.1a1.old/Lib/cgi.py Python-2.1a1/Lib/cgi.py ---- Python-2.1a1.old/Lib/cgi.py Sat Jan 20 12:54:20 2001 -+++ Python-2.1a1/Lib/cgi.py Fri Jan 26 01:07:57 2001 -@@ -1,4 +1,4 @@ --#! /usr/local/bin/python -+#!/usr/bin/env python - - """Support module for CGI (Common Gateway Interface) scripts. - -diff -ur Python-2.1a1.old/Tools/faqwiz/faqw.py Python-2.1a1/Tools/faqwiz/faqw.py ---- Python-2.1a1.old/Tools/faqwiz/faqw.py Fri Apr 3 15:27:04 1998 -+++ Python-2.1a1/Tools/faqwiz/faqw.py Fri Jan 26 01:08:07 2001 -@@ -1,4 +1,4 @@ --#! /usr/local/bin/python -+#!/usr/bin/env python - - """FAQ wizard bootstrap.""" - -diff -ur Python-2.1a1.old/Tools/scripts/parseentities.py Python-2.1a1/Tools/scripts/parseentities.py ---- Python-2.1a1.old/Tools/scripts/parseentities.py Wed Jan 17 01:48:39 2001 -+++ Python-2.1a1/Tools/scripts/parseentities.py Fri Jan 26 01:08:16 2001 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/python -+#!/usr/bin/env python - """ Utility for parsing HTML entity definitions available from: - - http://www.w3.org/ as e.g. diff --git a/Misc/RPM/README b/Misc/RPM/README index 5dbfccd..f3a2557 100644 --- a/Misc/RPM/README +++ b/Misc/RPM/README @@ -2,5 +2,15 @@ This directory contains support file used to build RPM releases of Python. Its contents are maintained by Sean Reifschneider <jafo@tummy.com>. -Note that the patches say "2.1" in the name -- they didn't need to be -updated for 2.2. +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" +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. |