Accepting request 70751 from home:namtrac:branches:devel:tools:building

- Fix test failures with Perl 5.14
- Use upstream patch for Perl 5.12 support

OBS-URL: https://build.opensuse.org/request/show/70751
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=15
This commit is contained in:
2011-05-20 19:38:03 +00:00
committed by Git OBS Bridge
parent 424a51bfb8
commit c61b5d2d81
5 changed files with 81 additions and 21 deletions

View File

@@ -54,13 +54,16 @@ Summary: Simplified Wrapper and Interface Generator
Url: http://www.swig.org
Group: Development/Languages/C and C++
Source: swig-%{version}.tar.bz2
Patch1: adapt-perl512.diff
# PATCH-FIX-UPSTREAM swig-2.0.3-perl512.patch idoenmez@suse.de -- Upstream bug #3260265
Patch1: swig-2.0.3-perl512.patch
# PATCH-FIX-UPSTREAM swig-2.0.3-disable-broken-tests.patch idoenmez@suse.de -- Disable broken tests
Patch2: swig-2.0.3-disable-broken-tests.patch
# PATCH-FIX-UPSTREAM swig-2.0.3-use-python-capsule-api.patch idoenmez@suse.de -- Use Python capsule api
Patch3: swig-2.0.3-use-python-capsule-api.patch
# PATCH-FIX-UPSTREAM swig-2.0.3-support-python32.patch idoenmez@suse.de -- Support Python 3.2
Patch4: swig-2.0.3-support-python32.patch
# PATCH-FIX-UPSTREAM swig-2.0.3-perl514.patch idoenmez@suse.de -- Fix Perl 5.14 test failure
Patch5: swig-2.0.3-perl514.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -119,6 +122,7 @@ understandig SWIG usage.
%patch2
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
./autogen.sh