rpms/python/devel python-2.6.2-config.patch, 1.1, 1.2 python.spec, 1.160, 1.161
dmalcolm
dmalcolm at fedoraproject.org
Mon Jan 25 18:42:05 UTC 2010
Author: dmalcolm
Update of /cvs/pkgs/rpms/python/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14722
Modified Files:
python-2.6.2-config.patch python.spec
Log Message:
* Mon Jan 25 2010 David Malcolm <dmalcolm at redhat.com> - 2.6.4-9
- change python-2.6.2-config.patch to remove our downstream change to curses
configuration in Modules/Setup.dist, so that the curses modules are built using
setup.py with the downstream default (linking against libncursesw.so, rather
than libncurses.so), rather than within the Makefile; add a test to %%install
to verify the dso files that the curses module is linked against the correct
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
python-2.6.2-config.patch:
Python-2.6 | 133 ++++++++++++++++++++++++-------------------------
Python-2.6.2/setup.py~ |only
setup.py | 2
3 files changed, 66 insertions(+), 69 deletions(-)
Index: python-2.6.2-config.patch
===================================================================
RCS file: /cvs/pkgs/rpms/python/devel/python-2.6.2-config.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-2.6.2-config.patch 30 Jul 2009 21:03:26 -0000 1.1
+++ python-2.6.2-config.patch 25 Jan 2010 18:42:04 -0000 1.2
@@ -200,18 +200,6 @@ diff -ru Python-2.6-orig Python-2.6
# Lance Ellinghaus's syslog module
#syslog syslogmodule.c # syslog daemon interface
-@@ -363,9 +363,9 @@
- #
- # First, look at Setup.config; configure may have set this for you.
-
--#_curses _cursesmodule.c -lcurses -ltermcap
-+_curses _cursesmodule.c -lcurses -ltermcap
- # Wrapper for the panel library that's part of ncurses and SYSV curses.
--#_curses_panel _curses_panel.c -lpanel -lncurses
-+_curses_panel _curses_panel.c -lpanel -lncurses
-
-
- # Generic (SunOS / SVR4) dynamic loading module.
@@ -373,7 +373,7 @@
# it is a highly experimental and dangerous device for calling
# *arbitrary* C functions in *arbitrary* shared libraries:
Index: python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python/devel/python.spec,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -p -r1.160 -r1.161
--- python.spec 22 Jan 2010 15:49:15 -0000 1.160
+++ python.spec 25 Jan 2010 18:42:04 -0000 1.161
@@ -22,7 +22,7 @@
Summary: An interpreted, interactive, object-oriented programming language
Name: %{python}
Version: 2.6.4
-Release: 8%{?dist}
+Release: 9%{?dist}
License: Python
Group: Development/Languages
Provides: python-abi = %{pybasever}
@@ -455,13 +455,19 @@ rm $RPM_BUILD_ROOT%{_libdir}/python%{pyb
# python's build is stupid and doesn't fail if extensions fail to build
# let's list a few that we care about...
-for so in _bsddb.so _ctypes.so _cursesmodule.so _elementtree.so _sqlite3.so _ssl.so readline.so _hashlib.so zlibmodule.so bz2.so pyexpat.so; do
+for so in _bsddb.so _ctypes.so _curses.so _elementtree.so _sqlite3.so _ssl.so readline.so _hashlib.so zlibmodule.so bz2.so pyexpat.so; do
if [ ! -f $RPM_BUILD_ROOT/%{_libdir}/python%{pybasever}/lib-dynload/$so ]; then
echo "Missing $so!!!"
exit 1
fi
done
+# Ensure that the curses module was linked against libncursesw.so, rather than
+# libncurses.so (bug 539917)
+ldd $RPM_BUILD_ROOT/%{_libdir}/python%{pybasever}/lib-dynload/_curses*.so \
+ | grep curses \
+ | grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
+
%clean
rm -fr $RPM_BUILD_ROOT
@@ -581,6 +587,14 @@ rm -fr $RPM_BUILD_ROOT
%{_libdir}/python%{pybasever}/lib-dynload/_testcapimodule.so
%changelog
+* Mon Jan 25 2010 David Malcolm <dmalcolm at redhat.com> - 2.6.4-9
+- change python-2.6.2-config.patch to remove our downstream change to curses
+configuration in Modules/Setup.dist, so that the curses modules are built using
+setup.py with the downstream default (linking against libncursesw.so, rather
+than libncurses.so), rather than within the Makefile; add a test to %%install
+to verify the dso files that the curses module is linked against the correct
+DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
+
* Fri Jan 22 2010 David Malcolm <dmalcolm at redhat.com> - 2.6.4-8
- rebuild (bug 556975)
More information about the scm-commits
mailing list