From af6638b5d5a04d1a93f5d78840d5804e932a5335b565b64bda939fe960319e08 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 3 Nov 2008 13:18:39 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gtk?expand=0&rev=11 --- python-gtk.changes | 5 +++++ python-gtk.spec | 20 +++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/python-gtk.changes b/python-gtk.changes index f250e7e..476c5a1 100644 --- a/python-gtk.changes +++ b/python-gtk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 28 17:10:06 CET 2008 - olh@suse.de + +- build with -fno-schedule-insns on ppc64 (bnc#428413) + ------------------------------------------------------------------- Mon Apr 7 17:27:24 CEST 2008 - matejcik@suse.cz diff --git a/python-gtk.spec b/python-gtk.spec index 77e4877..3d477ba 100644 --- a/python-gtk.spec +++ b/python-gtk.spec @@ -2,9 +2,16 @@ # spec file for package python-gtk (Version 2.12.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -22,7 +29,7 @@ BuildRequires: gtk-doc Url: http://www.pygtk.org/ Summary: Python bindings for the GTK+ widget set Version: 2.12.1 -Release: 1 +Release: 59 License: LGPL v2.1 or later Group: Development/Libraries/Python Source: %{_name}-%{version}.tar.bz2 @@ -86,6 +93,11 @@ cat %{S:1} >>acinclude.m4 %build autoreconf -f -i +%ifarch ppc64 +# temporary workaround for Bug 428413 - Python interpreter makes segmentation fault when list python modules +export CFLAGS="$RPM_OPT_FLAGS -fno-schedule-insns" +export CXXFLAGS="$CFLAGS" +%endif %configure make %{?jobs:-j%jobs} @@ -123,6 +135,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/* %changelog +* Tue Oct 28 2008 olh@suse.de +- build with -fno-schedule-insns on ppc64 (bnc#428413) * Mon Apr 07 2008 matejcik@suse.cz - update to 2.12.1 * minor bugfixes