forked from pool/python
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:
committed by
Git OBS Bridge
parent
61aa2e864b
commit
2b70f7ad6c
@@ -35,7 +35,7 @@ Obsoletes: python-64bit
|
||||
Obsoletes: python-nothreads python21 python-elementtree python-sqlite
|
||||
Summary: Python Interpreter
|
||||
Version: 2.6.5
|
||||
Release: 2
|
||||
Release: 3
|
||||
Requires: python-base = %{version}
|
||||
%define tarversion %{version}
|
||||
%define tarname Python-%{tarversion}
|
||||
@@ -54,6 +54,7 @@ Patch30: python-2.5.1-sqlite.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: sparc_longdouble.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define python_version %(echo %{version} | head -c 3)
|
||||
%define idle_name idle
|
||||
@@ -188,6 +189,7 @@ Authors:
|
||||
%patch38
|
||||
%endif
|
||||
%patch39
|
||||
%patch40 -p1
|
||||
# some cleanup
|
||||
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
|
||||
find . -name CVS -type d -print0 | xargs -0 rm -rf
|
||||
@@ -223,7 +225,7 @@ touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h
|
||||
########################################
|
||||
# compile
|
||||
########################################
|
||||
make %{?jobs:-j%jobs} DESTDIR=$RPM_BUILD_ROOT
|
||||
make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
# on hppa, the threading of glibc is quite broken. The tests just stop
|
||||
|
Reference in New Issue
Block a user