Accepting request 352498 from devel:tools:building

- Add swig308-Fix-li_boost_array-test.patch to fix boost::array
  test on PPC.

- Update to 3.0.8
  - pdf documentation enhancements.
  - Various Python 3.5 issues fixed.
  - std::array support added for Ruby and Python.
  - shared_ptr support added for Ruby.
  - Minor improvements for CFFI, Go, Java, Perl, Python, Ruby.

OBS-URL: https://build.opensuse.org/request/show/352498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swig?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2016-01-11 18:10:12 +00:00 committed by Git OBS Bridge
commit f9c48569df
5 changed files with 35 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06dc8816a225667ce1eee545af3caf87e1bbaa379c32838d4cea53152514348d
size 5923046

3
swig-3.0.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58a475dbbd4a4d7075e5fe86d4e54c9edde39847cdb96a3053d87cb64a23a453
size 7937213

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Jan 7 21:08:33 UTC 2016 - idonmez@suse.com
- Add swig308-Fix-li_boost_array-test.patch to fix boost::array
test on PPC.
-------------------------------------------------------------------
Thu Jan 7 08:13:38 UTC 2016 - kkaempf@suse.com
- Update to 3.0.8
- pdf documentation enhancements.
- Various Python 3.5 issues fixed.
- std::array support added for Ruby and Python.
- shared_ptr support added for Ruby.
- Minor improvements for CFFI, Go, Java, Perl, Python, Ruby.
-------------------------------------------------------------------
Tue Aug 4 07:43:49 UTC 2015 - kkaempf@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package swig
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: swig
Version: 3.0.7
Version: 3.0.8
Release: 0
Summary: Simplified Wrapper and Interface Generator
License: GPL-3.0+ and BSD-3-Clause
@ -25,6 +25,7 @@ Group: Development/Languages/C and C++
Url: http://www.swig.org/
Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: %{name}.rpmlintrc
Patch1: swig308-Fix-li_boost_array-test.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: boost-devel
@ -118,6 +119,7 @@ understandig SWIG usage.
%prep
%setup -q
%patch1 -p1
%build
./autogen.sh

View File

@ -0,0 +1,12 @@
diff -up swig-3.0.8/Examples/test-suite/li_boost_array.i.orig swig-3.0.8/Examples/test-suite/li_boost_array.i
--- swig-3.0.8/Examples/test-suite/li_boost_array.i.orig 2016-01-06 08:09:48.851786620 +0100
+++ swig-3.0.8/Examples/test-suite/li_boost_array.i 2016-01-06 08:10:54.028471052 +0100
@@ -31,7 +31,7 @@ namespace boost {
%inline %{
boost::array<int, 6> arrayOutVal() {
- const char carray[] = { -2, -1, 0, 0, 1, 2 };
+ const signed char carray[] = { -2, -1, 0, 0, 1, 2 };
boost::array<int, 6> myarray;
for (size_t i=0; i<6; ++i) {
myarray[i] = carray[i];