--- Python-2.5b2/Misc/RPM/python-2.5.spec 2006-07-10 09:41:04.000000000 +0200 +++ python-2.5b2.spec 2006-07-13 21:31:53.000000000 +0200 @@ -52,7 +53,7 @@ Name: %{name}%{binsuffix} Version: %{version} Release: %{release} -Copyright: Modified CNRI Open Source License +License: Modified CNRI Open Source License Group: Development/Languages Source: Python-%{version}.tar.bz2 %if %{include_docs} @@ -132,7 +133,7 @@ %endif %changelog -* Mon Dec 20 2004 Sean Reifschneider [2.4-2pydotorg] +* Wed Jan 05 2005 Sean Reifschneider [2.4-3pydotorg] - Changing the idle wrapper so that it passes arguments to idle. * Tue Oct 19 2004 Sean Reifschneider [2.4b1-1pydotorg] @@ -221,7 +222,12 @@ # BUILD ######## %build -./configure --enable-unicode=ucs4 %{ipv6} %{pymalloc} --prefix=%{__prefix} +mv ./configure ./configure.old +sed -e "/-g -O3/ s/-g -O3/${CFLAGS}/" ./configure.old >configure +chmod u+x ./configure +mv Makefile.pre.in Makefile.pre.in.old +sed -e '/DIR=.*lib$/ s|/lib$|/%{libdirname}| ; /LDFLAGS/ s|LDFLAGS=|LDFLAGS= -L. |' ./Makefile.pre.in.old >Makefile.pre.in +./configure --enable-shared --enable-unicode=ucs4 %{ipv6} %{pymalloc} --prefix=%{__prefix} --libdir=%{__prefix}/%{libdirname} make ########## @@ -343,25 +349,27 @@ %attr(755,root,root) %dir %{__prefix}/include/python%{libvers} %attr(755,root,root) %dir %{__prefix}/%{libdirname}/python%{libvers}/ +%{__prefix}/%{libdirname}/libpython%{libvers}.so* %{__prefix}/%{libdirname}/python%{libvers}/*.txt %{__prefix}/%{libdirname}/python%{libvers}/*.py* %{__prefix}/%{libdirname}/python%{libvers}/pdb.doc -%{__prefix}/%{libdirname}/python%{libvers}/profile.doc +#%{__prefix}/%{libdirname}/python%{libvers}/profile.doc %{__prefix}/%{libdirname}/python%{libvers}/curses %{__prefix}/%{libdirname}/python%{libvers}/distutils %{__prefix}/%{libdirname}/python%{libvers}/encodings %{__prefix}/%{libdirname}/python%{libvers}/plat-linux2 %{__prefix}/%{libdirname}/python%{libvers}/site-packages %{__prefix}/%{libdirname}/python%{libvers}/test -%{__prefix}/%{libdirname}/python%{libvers}/xml +%{__prefix}/%{libdirname}/python%{libvers}/xmlcore +%{__prefix}/%{libdirname}/python%{libvers}/ctypes +%{__prefix}/%{libdirname}/python%{libvers}/wsgiref* %{__prefix}/%{libdirname}/python%{libvers}/email -%{__prefix}/%{libdirname}/python%{libvers}/email/mime +#%{__prefix}/%{libdirname}/python%{libvers}/email/mime %{__prefix}/%{libdirname}/python%{libvers}/sqlite3 %{__prefix}/%{libdirname}/python%{libvers}/compiler %{__prefix}/%{libdirname}/python%{libvers}/bsddb %{__prefix}/%{libdirname}/python%{libvers}/hotshot %{__prefix}/%{libdirname}/python%{libvers}/logging -%{__prefix}/%{libdirname}/python%{libvers}/lib-old %files devel %defattr(-,root,root)