From 7ada186389ea77b0df6a264aba82b0ce5a8e60ea8f787f2963fd8c08f7d5a563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Thu, 7 Jan 2016 08:14:24 +0000 Subject: [PATCH 1/2] - 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/package/show/devel:tools:building/swig?expand=0&rev=86 --- swig-3.0.7.tar.gz | 3 --- swig-3.0.8.tar.gz | 3 +++ swig.changes | 10 ++++++++++ swig.spec | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) delete mode 100644 swig-3.0.7.tar.gz create mode 100644 swig-3.0.8.tar.gz diff --git a/swig-3.0.7.tar.gz b/swig-3.0.7.tar.gz deleted file mode 100644 index 8ec5f36..0000000 --- a/swig-3.0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06dc8816a225667ce1eee545af3caf87e1bbaa379c32838d4cea53152514348d -size 5923046 diff --git a/swig-3.0.8.tar.gz b/swig-3.0.8.tar.gz new file mode 100644 index 0000000..083633a --- /dev/null +++ b/swig-3.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58a475dbbd4a4d7075e5fe86d4e54c9edde39847cdb96a3053d87cb64a23a453 +size 7937213 diff --git a/swig.changes b/swig.changes index 61f8dad..c54d281 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +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 diff --git a/swig.spec b/swig.spec index be6e35e..c10ccc8 100644 --- a/swig.spec +++ b/swig.spec @@ -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 From 74c07b6309ebd7b0dcbfbb980c3ba87f31708c0facd49f2bac96c7f9e9e8b2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Thu, 7 Jan 2016 21:11:18 +0000 Subject: [PATCH 2/2] - Add swig308-Fix-li_boost_array-test.patch to fix boost::array test on PPC. OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=87 --- swig.changes | 6 ++++++ swig.spec | 2 ++ swig308-Fix-li_boost_array-test.patch | 12 ++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 swig308-Fix-li_boost_array-test.patch diff --git a/swig.changes b/swig.changes index c54d281..664e8db 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/swig.spec b/swig.spec index c10ccc8..ee3e3f4 100644 --- a/swig.spec +++ b/swig.spec @@ -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 diff --git a/swig308-Fix-li_boost_array-test.patch b/swig308-Fix-li_boost_array-test.patch new file mode 100644 index 0000000..ba57231 --- /dev/null +++ b/swig308-Fix-li_boost_array-test.patch @@ -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 arrayOutVal() { +- const char carray[] = { -2, -1, 0, 0, 1, 2 }; ++ const signed char carray[] = { -2, -1, 0, 0, 1, 2 }; + boost::array myarray; + for (size_t i=0; i<6; ++i) { + myarray[i] = carray[i];