diff --git a/python-doc.spec b/python-doc.spec index c51a4d6..cc834bc 100644 --- a/python-doc.spec +++ b/python-doc.spec @@ -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} diff --git a/python-libffi-hppa.diff b/python-libffi-hppa.diff new file mode 100644 index 0000000..eafd97f --- /dev/null +++ b/python-libffi-hppa.diff @@ -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 diff --git a/python.changes b/python.changes index f5246a7..59b97bd 100644 --- a/python.changes +++ b/python.changes @@ -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 diff --git a/python.spec b/python.spec index 926610a..1bd6784 100644 --- a/python.spec +++ b/python.spec @@ -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