forked from pool/python
This commit is contained in:
parent
5ea972e63f
commit
34fd50a0e9
@ -17,7 +17,7 @@ Group: Development/Languages/Python
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Additional Package Documentation for Python.
|
||||
Version: 2.5.1
|
||||
Release: 19
|
||||
Release: 25
|
||||
%define pyver %{version}
|
||||
BuildArch: noarch
|
||||
%define tarname Python-%{pyver}
|
||||
|
11
python-libffi-hppa.diff
Normal file
11
python-libffi-hppa.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- Modules/_ctypes/libffi/configure.ac 2007/08/24 11:09:45 1.1
|
||||
+++ Modules/_ctypes/libffi/configure.ac 2007/08/24 11:10:13
|
||||
@@ -71,7 +71,7 @@
|
||||
sh-*-linux* | sh[[34]]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
|
||||
sh-*-rtems*) TARGET=SH; TARGETDIR=sh;;
|
||||
sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
|
||||
-hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;;
|
||||
+hppa*-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;;
|
||||
esac
|
||||
|
||||
if test $TARGETDIR = unknown; then
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 24 16:42:12 CEST 2007 - bg@suse.de
|
||||
|
||||
- fix build on hppa
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 15:25:32 CEST 2007 - jmatejek@suse.cz
|
||||
|
||||
|
@ -20,7 +20,7 @@ Autoreqprov: on
|
||||
Obsoletes: python-nothreads python21
|
||||
Summary: Python Interpreter
|
||||
Version: 2.5.1
|
||||
Release: 23
|
||||
Release: 29
|
||||
%define tarname Python-%{version}
|
||||
Source0: %{tarname}.tar.bz2
|
||||
Source6: README.SUSE
|
||||
@ -38,6 +38,7 @@ Patch25: python-2.4.2-canonicalize2.patch
|
||||
Patch26: python-2.4-localpath.patch
|
||||
Patch27: python-2.5-https_warn.patch
|
||||
Patch28: python-2.5-subprocess-eintr-safety.patch
|
||||
Patch29: python-libffi-hppa.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define python_version %(echo %{version} | head -c 3)
|
||||
%define idle_name idle
|
||||
@ -197,6 +198,7 @@ Python2.x, it is part of the core Python distribution.
|
||||
%patch26
|
||||
%patch27
|
||||
%patch28
|
||||
%patch29
|
||||
# some cleanup
|
||||
find . -name .cvsignore -type f -print0 | xargs -0 rm -f
|
||||
find . -name CVS -type d -print0 | xargs -0 rm -rf
|
||||
@ -209,7 +211,7 @@ export OPT="$RPM_OPT_FLAGS"
|
||||
########################################
|
||||
# regenerate
|
||||
########################################
|
||||
autoreconf -f -i
|
||||
autoreconf -f -i . Modules/_ctypes/libffi
|
||||
########################################
|
||||
# configure
|
||||
########################################
|
||||
@ -466,6 +468,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%attr(755, root, root) %{_bindir}/smtpd.py
|
||||
|
||||
%changelog
|
||||
* Fri Aug 24 2007 - bg@suse.de
|
||||
- fix build on hppa
|
||||
* Fri Aug 03 2007 - jmatejek@suse.cz
|
||||
- replaced duplicate files with hardlinks
|
||||
* Fri Jul 27 2007 - jmatejek@suse.cz
|
||||
|
Loading…
x
Reference in New Issue
Block a user