- disable installation of .egg-info files for now

This commit is contained in:
Jeremy Katz 2006-12-06 22:15:01 +00:00
parent bca2575b8b
commit 12cb76fad1
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- Python-2.5/Lib/distutils/command/install.py.egginfo 2006-12-06 17:12:57.000000000 -0500
+++ Python-2.5/Lib/distutils/command/install.py 2006-12-06 17:13:10.000000000 -0500
@@ -601,7 +601,7 @@
('install_headers', has_headers),
('install_scripts', has_scripts),
('install_data', has_data),
- ('install_egg_info', lambda self:True),
+ ('install_egg_info', lambda self:False),
]
# class install

View File

@ -21,7 +21,7 @@ Summary: An interpreted, interactive, object-oriented programming language.
Name: %{python}
#Version: %{pybasever}.3
Version: 2.5
Release: 1%{?dist}
Release: 2%{?dist}
License: PSF - see LICENSE
Group: Development/Languages
Provides: python-abi = %{pybasever}
@ -36,10 +36,14 @@ Patch4: python-2.4.1-canonicalize.patch
Patch5: python-2.5-cflags.patch
Patch6: python-db45.patch
# disable egg-infos for now
Patch50: python-2.5-disable-egginfo.patch
# lib64 patches
Patch101: python-2.3.4-lib64-regex.patch
Patch102: python-2.5-lib64.patch
%if %{main_python}
Obsoletes: Distutils
Provides: Distutils
@ -144,6 +148,8 @@ user interface for Python programming.
%patch5 -p1 -b .cflags
%patch6 -p1 -b .db45
%patch50 -p1 -b .egginfo
%if %{_lib} == lib64
%patch101 -p1 -b .lib64-regex
%patch102 -p1 -b .lib64
@ -382,6 +388,9 @@ rm -fr $RPM_BUILD_ROOT
%{_libdir}/python%{pybasever}/lib-dynload/_tkinter.so
%changelog
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-2
- disable installation of .egg-info files for now
* Tue Dec 5 2006 Jeremy Katz <katzj@redhat.com>
- support db 4.5
- obsolete python-elementtree; since it requires some code tweaks, don't