Accepting request 108122 from devel:tools:building

- fix SLES 10 build, disable failing test (bnc#750618) (forwarded request 108119 from kwk)

OBS-URL: https://build.opensuse.org/request/show/108122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swig?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2012-03-06 13:07:10 +00:00 committed by Git OBS Bridge
commit 30db5b689e
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Mar 6 09:15:47 UTC 2012 - kkaempf@suse.com
- fix SLES 10 build, disable failing test (bnc#750618)
-------------------------------------------------------------------
Mon Mar 5 13:19:56 UTC 2012 - kkaempf@suse.com
- fix build, add Group field to subpackages
-------------------------------------------------------------------
Fri Dec 9 08:55:59 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package swig
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: swig
BuildRequires: boost-devel
BuildRequires: gcc-c++
@ -80,6 +82,7 @@ customization options, and more.
%package doc
Summary: SWIG Manual
License: BSD-3-Clause
Group: Documentation/Man
Requires: swig
%if 0%{?suse_version} >= 1120
BuildArch: noarch
@ -100,6 +103,7 @@ This package contains the SWIG manual.
%package examples
Summary: SWIG example files
License: BSD-3-Clause
Group: Documentation/Howto
Requires: swig
%description examples
@ -137,6 +141,12 @@ make %{?_smp_mflags}
%if 0%{?sles_version} != 9
# This test is buggy on x86-64
rm -f Examples/test-suite/python/li_boost_shared_ptr_runme.py
%if 0%{?suse_version} == 1010
%ifarch x86_64
# This test fails on SLES 10 SP3+SP4 on 64bit (bnc#750618)
rm -f Examples/test-suite/ruby/newobject1_runme.rb
%endif
%endif
make check
%endif