Accepting request 37272 from devel:languages:python:Factory

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

OBS-URL: https://build.opensuse.org/request/show/37272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=47
This commit is contained in:
OBS User autobuild
2010-04-13 19:40:06 +00:00
committed by Git OBS Bridge
parent d67b003539
commit a753be95a9
8 changed files with 53 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-base (Version 2.6.4.92)
# spec file for package python-base (Version 2.6.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -32,10 +32,9 @@ Obsoletes: python-64bit
%endif
#
Summary: Python Interpreter base package
Version: 2.6.4.92
Version: 2.6.5
Release: 1
#%define tarversion %{version}
%define tarversion 2.6.5rc2
%define tarversion %{version}
%define tarname Python-%{tarversion}
Source0: %{tarname}.tar.bz2
Source1: macros.python
@@ -49,6 +48,7 @@ Patch21: Python-2.6.2-multilib.patch
Patch25: python-2.6b1-canonicalize2.patch
Patch35: python-2.5.2-configure.patch
Patch38: python-2.6-gettext-plurals.patch
Patch39: python-2.6.5-distutils_test_path.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define python_version %(echo %{version} | head -c 3)
@@ -134,6 +134,7 @@ Authors:
%patch25
%patch35
%patch38
%patch39 -p1
# some cleanup
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
@@ -189,8 +190,6 @@ EXCLUDE="$EXCLUDE -x test_nis -x test_threading"
# test_smtplib's testSend is known to be broken and on ia64 it actually fails most of the time, preventing the build.
EXCLUDE="$EXCLUDE -x test_smtplib"
%endif
# TODO remove this exclude at release: test_distutils fails in 2.6.5rc1 for some unrelated reason
EXCLUDE="$EXCLUDE -x test_distutils"
# Limit virtual memory to avoid spurious failures
if test $(ulimit -v) = unlimited || test $(ulimit -v) -gt 10000000; then
ulimit -v 10000000 || :