SHA256
1
0
forked from pool/python

Accepting request 53360 from devel:languages:python:Factory

Accepted submit request 53360 from user matejcik

OBS-URL: https://build.opensuse.org/request/show/53360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=55
This commit is contained in:
Ruediger Oertel 2010-11-20 10:16:12 +00:00 committed by Git OBS Bridge
commit e9bb7d8ec0
5 changed files with 37 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 18 08:23:34 UTC 2010 - coolo@novell.com
- add patch from http://psf.upfronthosting.co.za/roundup/tracker/issue9960
to fix build on ppc64
-------------------------------------------------------------------
Fri Oct 1 13:41:30 UTC 2010 - jmatejek@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package python-base (Version 2.7)
# spec file for package python-base (Version 2.6.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,7 +18,7 @@
Name: python-base
BuildRequires: fdupes pkg-config zlib-devel
BuildRequires: zlib-devel fdupes pkg-config
Url: http://www.python.org/
License: MIT License (or similar)
Group: Development/Languages/Python
@ -30,7 +30,7 @@ Obsoletes: python-64bit
#
Summary: Python Interpreter base package
Version: 2.7
Release: 3
Release: 1
%define tarversion %{version}
%define tarname Python-%{tarversion}
Source0: %{tarname}.tar.bz2
@ -51,6 +51,7 @@ Patch8: sparc_longdouble.patch
Patch9: python-2.7-acrequire.patch
Patch10: urllib2-AbstractBasicAuthHandler_reset_attr.diff
Patch11: smtpd-dos.patch
Patch12: http://psf.upfronthosting.co.za/roundup/tracker/file19029/python-test_structmembers.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define python_version %(echo %{version} | head -c 3)
@ -141,6 +142,7 @@ Authors:
%patch9 -p1
%patch10
%patch11
%patch12 -p0
# some cleanup
find . -name .cvsignore -type f -print0 | xargs -0 rm -f

View File

@ -1,5 +1,5 @@
#
# spec file for package python-doc (Version 2.7)
# spec file for package python-doc (Version 2.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -24,7 +24,7 @@ Group: Development/Languages/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Additional Package Documentation for Python.
Version: 2.7
Release: 3
Release: 23
%define pyver 2.7
BuildArch: noarch
%define tarname Python-%{pyver}

View File

@ -0,0 +1,21 @@
Index: Modules/_testcapimodule.c
===================================================================
--- Modules/_testcapimodule.c (revision 85001)
+++ Modules/_testcapimodule.c (working copy)
@@ -5,6 +5,7 @@
* standard Python regression test, via Lib/test/test_capi.py.
*/
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include <float.h>
#include "structmember.h"
@@ -593,7 +594,7 @@
{
PyObject *tuple, *obj;
Py_UNICODE *value;
- int len;
+ Py_ssize_t len;
/* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */
/* Just use the macro and check that it compiles */

View File

@ -1,5 +1,5 @@
#
# spec file for package python (Version 2.7)
# spec file for package python (Version 2.6.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -18,7 +18,7 @@
Name: python
BuildRequires: db-devel fdupes gdbm-devel gmp-devel libbz2-devel libopenssl-devel ncurses-devel readline-devel sqlite-devel tk-devel xorg-x11-devel
BuildRequires: db-devel gdbm-devel gmp-devel libbz2-devel libopenssl-devel ncurses-devel readline-devel sqlite-devel tk-devel xorg-x11-devel fdupes
#Requires: openssl >= 0.9.8e
Url: http://www.python.org/
License: MIT License (or similar)
@ -32,7 +32,7 @@ Obsoletes: python-64bit
Obsoletes: python-nothreads python21 python-elementtree python-sqlite
Summary: Python Interpreter
Version: 2.7
Release: 3
Release: 2
Requires: python-base = %{version}
%define tarversion %{version}
%define tarname Python-%{tarversion}