Accepting request 400671 from devel:tools:building

OBS-URL: https://build.opensuse.org/request/show/400671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/swig?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2016-06-12 16:51:13 +00:00 committed by Git OBS Bridge
commit 34304bb546
6 changed files with 22 additions and 22 deletions

View File

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f3a4afb22ac1a9dd9c8725175451bda8bae5c564761edc01e0edd2c672857f0
size 8012928

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon May 30 09:51:37 UTC 2016 - kkaempf@suse.com
- Update to 3.0.9
- Add support for Python's implicit namespace packages.
- Fixes to support Go 1.6.
- C++11 std::array support added for Java.
- Improved C++ multiple inheritance support for Java/C# wrappers.
- Various other minor fixes and improvements for C#, D, Go, Java,
Javascript, Lua, Python, R, Ruby, Scilab.
- drop swig308-Fix-li_boost_array-test.patch, upstream
-------------------------------------------------------------------
Mon May 23 15:19:08 UTC 2016 - olaf@aepfle.de

View File

@ -19,7 +19,7 @@
%bcond_with swig_ocaml
Name: swig
Version: 3.0.8
Version: 3.0.9
Release: 0
Summary: Simplified Wrapper and Interface Generator
License: GPL-3.0+ and BSD-3-Clause
@ -27,7 +27,6 @@ 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
Patch2: swig308-isfinite.diff
Patch3: swig-ocaml-int64.patch
BuildRequires: autoconf
@ -129,8 +128,7 @@ understandig SWIG usage.
%prep
%setup -q
%patch1 -p1
%patch2
%patch2 -p1
%patch3 -p1
%build

View File

@ -1,12 +0,0 @@
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];

View File

@ -1,6 +1,7 @@
--- Lib/typemaps/fragments.swg.orig 2016-02-02 14:42:14.223467628 +0000
+++ Lib/typemaps/fragments.swg 2016-02-02 14:43:41.840491612 +0000
@@ -175,6 +175,8 @@
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-swig-3.0.9/Lib/typemaps/fragments.swg ./Lib/typemaps/fragments.swg
--- ../orig-swig-3.0.9/Lib/typemaps/fragments.swg 2016-05-29 14:35:37.000000000 +0200
+++ ./Lib/typemaps/fragments.swg 2016-06-08 11:13:09.475671763 +0200
@@ -178,6 +178,8 @@
# elif defined(__sun) && defined(__SVR4)
# include <ieeefp.h>
# define SWIG_isfinite(X) (finite(X))