Accepting request 43604 from devel:languages:python:Factory

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

OBS-URL: https://build.opensuse.org/request/show/43604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=51
This commit is contained in:
OBS User autobuild
2010-07-23 15:08:24 +00:00
committed by Git OBS Bridge
parent 61aa2e864b
commit 2b70f7ad6c
6 changed files with 44 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ Obsoletes: python-64bit
#
Summary: Python Interpreter base package
Version: 2.6.5
Release: 2
Release: 3
%define tarversion %{version}
%define tarname Python-%{tarversion}
Source0: %{tarname}.tar.bz2
@@ -49,7 +49,7 @@ 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
Patch40: sparc_longdouble.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define python_version %(echo %{version} | head -c 3)
Provides: %{name} = %{python_version}
@@ -135,6 +135,7 @@ Authors:
%patch35
%patch38
%patch39 -p1
%patch40 -p1
# some cleanup
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
@@ -172,7 +173,7 @@ touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
# compile
########################################
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
make %{?jobs:-j%jobs} \
make %{?_smp_mflags} \
DESTDIR=$RPM_BUILD_ROOT \
profile-opt