Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23105d5

Browse files
committed
Checked in Sean Reifschneider's RPM spec file and patches. Bugfix candidate.
1 parent 8a107fb commit 23105d5

9 files changed

Lines changed: 355 additions & 412 deletions

File tree

Misc/RPM/BeOpen-Python-Setup.patch

Lines changed: 0 additions & 178 deletions
This file was deleted.

Misc/RPM/Python-2.1-expat.patch

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
--- Modules/pyexpat.c.old Tue Mar 6 02:30:48 2001
2+
+++ Modules/pyexpat.c Tue Mar 6 02:31:15 2001
3+
@@ -12,7 +12,7 @@
4+
#define EXPAT_VERSION 0x015f00
5+
#endif
6+
#else /* !defined(HAVE_EXPAT_H) */
7+
-#include "xmlparse.h"
8+
+#include "expat/xmlparse.h"
9+
/* Assume Expat 1.1 unless told otherwise */
10+
#ifndef EXPAT_VERSION
11+
#define EXPAT_VERSION 0x010100
12+
--- setup.py-orig Fri Feb 2 11:24:25 2001
13+
+++ setup.py Wed Feb 14 18:13:15 2001
14+
@@ -445,7 +445,7 @@
15+
# expat.h was found
16+
expat_defs = [('HAVE_EXPAT_H', 1)]
17+
else:
18+
- expat_incs = find_file('xmlparse.h', inc_dirs, [])
19+
+ expat_incs = find_file('expat/xmlparse.h', inc_dirs, [])
20+
21+
if (expat_incs is not None and
22+
self.compiler.find_library_file(lib_dirs, 'expat')):
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff -ur Python-2.1a1.old/Lib/cgi.py Python-2.1a1/Lib/cgi.py
2+
--- Python-2.1a1.old/Lib/cgi.py Sat Jan 20 12:54:20 2001
3+
+++ Python-2.1a1/Lib/cgi.py Fri Jan 26 01:07:57 2001
4+
@@ -1,4 +1,4 @@
5+
-#! /usr/local/bin/python
6+
+#!/usr/bin/env python
7+
8+
"""Support module for CGI (Common Gateway Interface) scripts.
9+
10+
diff -ur Python-2.1a1.old/Tools/faqwiz/faqw.py Python-2.1a1/Tools/faqwiz/faqw.py
11+
--- Python-2.1a1.old/Tools/faqwiz/faqw.py Fri Apr 3 15:27:04 1998
12+
+++ Python-2.1a1/Tools/faqwiz/faqw.py Fri Jan 26 01:08:07 2001
13+
@@ -1,4 +1,4 @@
14+
-#! /usr/local/bin/python
15+
+#!/usr/bin/env python
16+
17+
"""FAQ wizard bootstrap."""
18+
19+
diff -ur Python-2.1a1.old/Tools/scripts/parseentities.py Python-2.1a1/Tools/scripts/parseentities.py
20+
--- Python-2.1a1.old/Tools/scripts/parseentities.py Wed Jan 17 01:48:39 2001
21+
+++ Python-2.1a1/Tools/scripts/parseentities.py Fri Jan 26 01:08:16 2001
22+
@@ -1,4 +1,4 @@
23+
-#!/usr/local/bin/python
24+
+#!/usr/bin/env python
25+
""" Utility for parsing HTML entity definitions available from:
26+
27+
http://www.w3.org/ as e.g.

Misc/RPM/README

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
This directory contains support file used to build RPM releases of
2-
Python.
2+
Python. Its contents are maintained by Sean Reifschneider
3+
34

4-
beopen-python.spec:
5-
Template for the spec file used to build Python. The make-spec.sh
6-
program below converts fills in the template with current release
7-
information.
8-
BeOpen-Python-Setup.patch:
9-
This patch modifies Setup.in to include many extension modules
10-
that compile cleanly on a generic Linux system.
11-
make-spec.sh:
12-
Copies the .spec and .patch files into /usr/src/redhat/SPECS and
13-
SOURCES respectively. The generated versions of these files have
14-
version numbers set from the source tree.
15-
Tkinter:
16-
The files in this directory are used to package the _tkinter
17-
extension module with distutils. The src subdirectory should
18-
contain copies of _tkinter.c and tkappinit.c from the Modules
19-
directory of the source tree.
5+
Note that the patches say "2.1" in the name -- they didn't need to be
6+
updated for 2.2.

Misc/RPM/Tkinter/setup.cfg

Lines changed: 0 additions & 4 deletions
This file was deleted.

Misc/RPM/Tkinter/setup.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)