Accepting request 24103 from devel:languages:python:Factory

Copy from devel:languages:python:Factory/python based on submit request 24103 from user matejcik

OBS-URL: https://build.opensuse.org/request/show/24103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=40
This commit is contained in:
OBS User autobuild 2009-11-16 09:06:23 +00:00 committed by Git OBS Bridge
parent fe354aa4e3
commit 3d7eaf78a6
7 changed files with 51 additions and 8 deletions

View File

@ -1,9 +1,11 @@
# force use of directories passed to configure script
--- Makefile.pre.in 2003-09-20 12:50:28.000000000 +0200
+++ Makefile.pre.in 2003-10-02 11:05:14.000000000 +0200
@@ -78,12 +78,12 @@
exec_prefix= @exec_prefix@
Index: Makefile.pre.in
===================================================================
--- Makefile.pre.in.orig
+++ Makefile.pre.in
@@ -86,12 +86,12 @@ exec_prefix= @exec_prefix@
datarootdir= @datarootdir@
# Expanded directories
-BINDIR= $(exec_prefix)/bin

View File

@ -0,0 +1,23 @@
--- Modules/readline.c 2008-11-04 12:43:31.000000000 -0800
+++ Modules/readline.c 2009-04-22 15:50:49.000000000 -0700
@@ -759,6 +759,10 @@
static char **
flex_complete(char *text, int start, int end)
{
+#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
+ rl_completion_append_character ='\0';
+ rl_completion_suppress_append = 0;
+#endif
Py_XDECREF(begidx);
Py_XDECREF(endidx);
begidx = PyInt_FromLong((long) start);
@@ -799,11 +803,8 @@
rl_completer_word_break_characters =
strdup(" \t\n`~!@#$%^&*()-=+[{]}\\|;:'\",<>/?");
/* All nonalphanums except '.' */
-#ifdef HAVE_RL_COMPLETION_APPEND_CHARACTER
- rl_completion_append_character ='\0';
-#endif
begidx = PyInt_FromLong(0L);
endidx = PyInt_FromLong(0L);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 28 18:03:27 UTC 2009 - crrodriguez@opensuse.org
- python-devel Requires glibc-devel
-------------------------------------------------------------------
Fri Sep 4 20:16:42 CEST 2009 - matejcik@suse.cz

View File

@ -33,7 +33,7 @@ Obsoletes: python-64bit
#
Summary: Python Interpreter base package
Version: 2.6.2
Release: 5
Release: 6
%define tarname Python-%{version}
Source0: %{tarname}.tar.bz2
Source1: macros.python
@ -71,7 +71,7 @@ Authors:
%package -n python-devel
License: Python License ..
Requires: python-base = %{version}
Requires: python-base = %{version} glibc-devel
Summary: Include Files and Libraries Mandatory for Building Python Modules
Group: Development/Languages/Python
AutoReqProv: on

View File

@ -24,7 +24,7 @@ Group: Development/Languages/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Additional Package Documentation for Python.
Version: 2.6
Release: 15
Release: 16
%define pyver 2.6.2
BuildArch: noarch
%define tarname Python-%{pyver}

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Nov 4 19:04:16 CET 2009 - matejcik@suse.cz
- readline shouldn't append space after completion (bnc#551715,
python bug 5833)
-------------------------------------------------------------------
Tue Nov 3 19:13:42 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
-------------------------------------------------------------------
Tue Sep 8 16:11:33 CEST 2009 - max@suse.de

View File

@ -35,7 +35,7 @@ Obsoletes: python-64bit
Obsoletes: python-nothreads python21 python-elementtree python-sqlite
Summary: Python Interpreter
Version: 2.6.2
Release: 5
Release: 6
Requires: python-base = %{version}
%define tarname Python-%{version}
Source0: %{tarname}.tar.bz2
@ -54,6 +54,7 @@ Patch31: python-2.5.2-fwrapv.patch
Patch35: python-2.5.2-configure.patch
Patch38: python-2.6b3-curses-panel.patch
Patch39: python-2.6.2-ssl_handshake_timeout.patch
Patch40: python-2.6.2-readline.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define python_version %(echo %{version} | head -c 3)
%define idle_name idle
@ -189,6 +190,7 @@ Authors:
%patch38
%endif
%patch39
%patch40
# some cleanup
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
find . -name CVS -type d -print0 | xargs -0 rm -rf