commit swig for openSUSE:Factory

2020-06-14 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2020-06-14 18:16:23

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.3606 (New)


Package is "swig"

Sun Jun 14 18:16:23 2020 rev:71 rq:814121 version:4.0.2

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2020-06-04 
17:51:30.864090100 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new.3606/swig.changes  2020-06-14 
18:16:34.087052986 +0200
@@ -1,0 +2,18 @@
+Wed Jun 10 07:27:02 UTC 2020 - Klaus Kämpf 
+
+- Update to 4.0.2
+  - A few fixes around doxygen comment handling.
+  - Ruby 2.7 support added.
+  - Various minor improvements to C#, D, Java, OCaml, Octave, Python,
+R, Ruby.
+  - Considerable performance improvement running SWIG on large
+interface files.
+
+- drop upstreamed patches
+  ruby-std-wstring-byte-order.patch
+  0001-Fix-code-generated-for-Ruby-global-variables.patch
+  0002-Add-support-for-Ruby-2.7.patch
+  0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
+  0004-Improve-description-of-cast-macros-for-Ruby.patch
+
+---

Old:

  0001-Fix-code-generated-for-Ruby-global-variables.patch
  0002-Add-support-for-Ruby-2.7.patch
  0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
  0004-Improve-description-of-cast-macros-for-Ruby.patch
  rel-4.0.1.tar.gz
  ruby-std-wstring-byte-order.patch

New:

  swig-4.0.2.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.OmzA0n/_old  2020-06-14 18:16:36.015057934 +0200
+++ /var/tmp/diff_new_pack.OmzA0n/_new  2020-06-14 18:16:36.019057944 +0200
@@ -28,22 +28,15 @@
 BuildRequires:  ruby-devel
 %endif
 Name:   swig
-Version:4.0.1
+Version:4.0.2
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0-or-later AND BSD-3-Clause
 Group:  Development/Languages/C and C++
 URL:http://www.swig.org/
-Source: 
https://github.com/%{name}/%{name}/archive/rel-%{version}.tar.gz
+Source: 
http://prdownloads.sourceforge.net/swig/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
 
-# ruby 2.7 support (cherry-picked from 4.0.2~pre)
-Patch1: 0001-Fix-code-generated-for-Ruby-global-variables.patch
-Patch2: 0002-Add-support-for-Ruby-2.7.patch
-Patch3: 0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
-Patch4: 0004-Improve-description-of-cast-macros-for-Ruby.patch
-
-Patch300:   ruby-std-wstring-byte-order.patch
 Patch308:   swig308-isfinite.diff
 
 BuildRequires:  autoconf
@@ -119,7 +112,7 @@
 understandig SWIG usage.
 
 %prep
-%setup -q -n %{name}-rel-%{version}
+%setup -q
 %autopatch -p1
 
 %build




commit swig for openSUSE:Factory

2020-06-04 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2020-06-04 17:51:08

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.3606 (New)


Package is "swig"

Thu Jun  4 17:51:08 2020 rev:70 rq:808396 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2020-05-20 
18:37:43.468263667 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new.3606/swig.changes  2020-06-04 
17:51:30.864090100 +0200
@@ -1,0 +2,6 @@
+Sat May 23 07:04:09 UTC 2020 - Andreas Schwab 
+
+- Revert last change, drop 0005-disable_li_std_wstring.patch
+- ruby-std-wstring-byte-order.patch: fix wstring encoding boo#1171368
+
+---

Old:

  0005-disable_li_std_wstring.patch

New:

  ruby-std-wstring-byte-order.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.uiZzRU/_old  2020-06-04 17:51:32.408095013 +0200
+++ /var/tmp/diff_new_pack.uiZzRU/_new  2020-06-04 17:51:32.408095013 +0200
@@ -42,8 +42,8 @@
 Patch2: 0002-Add-support-for-Ruby-2.7.patch
 Patch3: 0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
 Patch4: 0004-Improve-description-of-cast-macros-for-Ruby.patch
-Patch5: 0005-disable_li_std_wstring.patch
 
+Patch300:   ruby-std-wstring-byte-order.patch
 Patch308:   swig308-isfinite.diff
 
 BuildRequires:  autoconf
@@ -120,18 +120,7 @@
 
 %prep
 %setup -q -n %{name}-rel-%{version}
-# for BE (Big Endian) do all patch (with 0005-disable_li_std_wstring.patch)
-# bypass https://bugzilla.opensuse.org/show_bug.cgi?id=1171368
-# for all other arches do all BUT that specific one
-%ifarch ppc64 s390 s390x
 %autopatch -p1
-%else
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch308 -p1
-%endif
 
 %build
 %ifarch s390 s390x

++ ruby-std-wstring-byte-order.patch ++
Index: swig-rel-4.0.1/Lib/ruby/std_wstring.i
===
--- swig-rel-4.0.1.orig/Lib/ruby/std_wstring.i
+++ swig-rel-4.0.1/Lib/ruby/std_wstring.i
@@ -1,4 +1,6 @@
 %{
+#include 
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -15,9 +17,17 @@ extern "C" {
 #ifndef SWIG_RUBY_WSTRING_ENCODING
 
 #if WCHAR_MAX == 0x7fff || WCHAR_MAX == 0x
+#if BYTE_ORDER == LITTLE_ENDIAN
 #define SWIG_RUBY_WSTRING_ENCODING "UTF-16LE"
+#elif BYTE_ORDER == BIG_ENDIAN
+#define SWIG_RUBY_WSTRING_ENCODING "UTF-16BE"
+#endif
 #elif WCHAR_MAX == 0x7fff || WCHAR_MAX == 0x
+#if BYTE_ORDER == LITTLE_ENDIAN
 #define SWIG_RUBY_WSTRING_ENCODING "UTF-32LE"
+#elif BYTE_ORDER == BIG_ENDIAN
+#define SWIG_RUBY_WSTRING_ENCODING "UTF-32BE"
+#endif
 #else
 #error unsupported wchar_t size. SWIG_RUBY_WSTRING_ENCODING must be given.
 #endif



commit swig for openSUSE:Factory

2020-05-20 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2020-05-20 18:37:39

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.2738 (New)


Package is "swig"

Wed May 20 18:37:39 2020 rev:69 rq:807118 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2020-04-16 
22:59:40.587511158 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new.2738/swig.changes  2020-05-20 
18:37:43.468263667 +0200
@@ -1,0 +2,6 @@
+Mon May 18 15:46:46 UTC 2020 - Michel Normand 
+
+- Add 0005-disable_li_std_wstring.patch for BE arches
+  (ppc64 s390 s390x) as bypass boo#1171368
+
+---

New:

  0005-disable_li_std_wstring.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.Unypoo/_old  2020-05-20 18:37:44.132265058 +0200
+++ /var/tmp/diff_new_pack.Unypoo/_new  2020-05-20 18:37:44.132265058 +0200
@@ -42,6 +42,7 @@
 Patch2: 0002-Add-support-for-Ruby-2.7.patch
 Patch3: 0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
 Patch4: 0004-Improve-description-of-cast-macros-for-Ruby.patch
+Patch5: 0005-disable_li_std_wstring.patch
 
 Patch308:   swig308-isfinite.diff
 
@@ -119,7 +120,18 @@
 
 %prep
 %setup -q -n %{name}-rel-%{version}
+# for BE (Big Endian) do all patch (with 0005-disable_li_std_wstring.patch)
+# bypass https://bugzilla.opensuse.org/show_bug.cgi?id=1171368
+# for all other arches do all BUT that specific one
+%ifarch ppc64 s390 s390x
 %autopatch -p1
+%else
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch308 -p1
+%endif
 
 %build
 %ifarch s390 s390x

++ 0005-disable_li_std_wstring.patch ++
From: Michel Normand 
Subject: 0005 disable li_std_wstring
Date: Mon, 18 May 2020 17:05:27 +0200

disable li_std_wstring to avoid test failure
for BE (ppc64 & s390x) as per bug
https://bugzilla.opensuse.org/show_bug.cgi?id=1171368

Signed-off-by: Michel Normand 
---
 Examples/test-suite/common.mk |1 -
 1 file changed, 1 deletion(-)

Index: swig-rel-4.0.1/Examples/test-suite/common.mk
===
--- swig-rel-4.0.1.orig/Examples/test-suite/common.mk
+++ swig-rel-4.0.1/Examples/test-suite/common.mk
@@ -657,7 +657,6 @@ CPP_STD_TEST_CASES += \
li_std_vector_enum \
li_std_vector_member_var\
li_std_vector_ptr \
-   li_std_wstring \
smart_pointer_inherit \
template_typedef_fnc \
template_type_namespace \



commit swig for openSUSE:Factory

2020-04-16 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2020-04-16 22:59:39

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.2738 (New)


Package is "swig"

Thu Apr 16 22:59:39 2020 rev:68 rq:794183 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2019-09-19 
15:45:34.175357634 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new.2738/swig.changes  2020-04-16 
22:59:40.587511158 +0200
@@ -1,0 +2,9 @@
+Wed Apr 15 08:52:15 UTC 2020 - Klaus Kämpf 
+
+- Ruby 2.7 support (cherry-picked from upstream)
+  0001-Fix-code-generated-for-Ruby-global-variables.patch
+  0002-Add-support-for-Ruby-2.7.patch
+  0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
+  0004-Improve-description-of-cast-macros-for-Ruby.patch
+
+---

New:

  0001-Fix-code-generated-for-Ruby-global-variables.patch
  0002-Add-support-for-Ruby-2.7.patch
  0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
  0004-Improve-description-of-cast-macros-for-Ruby.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.B9LKLt/_old  2020-04-16 22:59:41.415511782 +0200
+++ /var/tmp/diff_new_pack.B9LKLt/_new  2020-04-16 22:59:41.419511784 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,7 +36,15 @@
 URL:http://www.swig.org/
 Source: 
https://github.com/%{name}/%{name}/archive/rel-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-Patch2: swig308-isfinite.diff
+
+# ruby 2.7 support (cherry-picked from 4.0.2~pre)
+Patch1: 0001-Fix-code-generated-for-Ruby-global-variables.patch
+Patch2: 0002-Add-support-for-Ruby-2.7.patch
+Patch3: 0003-Move-new-macros-for-Ruby-to-their-dedicated-namespac.patch
+Patch4: 0004-Improve-description-of-cast-macros-for-Ruby.patch
+
+Patch308:   swig308-isfinite.diff
+
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison

++ 0001-Fix-code-generated-for-Ruby-global-variables.patch ++
>From 07ed9bf365202f0d608821327948b6d92d2580e9 Mon Sep 17 00:00:00 2001
From: Thomas Reitmayr 
Date: Sun, 27 Oct 2019 21:41:03 +0100
Subject: [PATCH 1/4] Fix code generated for Ruby global variables

This commit fixes swig#1653 by creating a Ruby virtual variable
for a C/c++ global variable when SWIG is invoked with the
-globalmodule option.
---
 Doc/Manual/Ruby.html  | 18 +++
 Examples/test-suite/common.mk |  2 +
 Examples/test-suite/global_immutable_vars.i   | 24 +
 .../test-suite/global_immutable_vars_cpp.i| 24 +
 Examples/test-suite/ruby/Makefile.in  |  4 ++
 .../ruby/global_immutable_vars_cpp_runme.rb   | 47 +
 .../ruby/global_immutable_vars_runme.rb   | 51 +++
 .../ruby_global_immutable_vars_cpp_runme.rb   | 47 +
 .../ruby/ruby_global_immutable_vars_runme.rb  | 51 +++
 .../test-suite/ruby_global_immutable_vars.i   | 25 +
 .../ruby_global_immutable_vars_cpp.i  | 23 +
 Source/Modules/ruby.cxx   | 36 +
 12 files changed, 342 insertions(+), 10 deletions(-)
 create mode 100644 Examples/test-suite/global_immutable_vars.i
 create mode 100644 Examples/test-suite/global_immutable_vars_cpp.i
 create mode 100644 Examples/test-suite/ruby/global_immutable_vars_cpp_runme.rb
 create mode 100644 Examples/test-suite/ruby/global_immutable_vars_runme.rb
 create mode 100644 
Examples/test-suite/ruby/ruby_global_immutable_vars_cpp_runme.rb
 create mode 100644 Examples/test-suite/ruby/ruby_global_immutable_vars_runme.rb
 create mode 100644 Examples/test-suite/ruby_global_immutable_vars.i
 create mode 100644 Examples/test-suite/ruby_global_immutable_vars_cpp.i

diff --git a/Doc/Manual/Ruby.html b/Doc/Manual/Ruby.html
index 3cfd1292ca2b..6939a8a18613 100644
--- a/Doc/Manual/Ruby.html
+++ b/Doc/Manual/Ruby.html
@@ -615,6 +615,24 @@ directive. For example: 
 effect until it is explicitly disabled using %mutable.
 
 
+Note: When SWIG is invoked with the -globalmodule option in
+effect, the C/C++ global variables will be translated into Ruby global
+variables. Type-checking and the optional read-only characteristic are
+available in the same way as described above. However the example would
+then have to be modified and executed in the following way:
+
+
+$ irb
+irb(m

commit swig for openSUSE:Factory

2019-09-19 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2019-09-19 15:45:28

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.7948 (New)


Package is "swig"

Thu Sep 19 15:45:28 2019 rev:67 rq:729492 version:4.0.1

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2019-09-02 
13:23:19.773335245 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new.7948/swig.changes  2019-09-19 
15:45:34.175357634 +0200
@@ -1,0 +2,15 @@
+Mon Sep  9 08:17:39 UTC 2019 - Klaus Kämpf 
+
+- Update to 4.0.1
+  - SWIG now cleans up on error by removing all generated files.
+  - Add Python 3.8 support.
+  - Python Sphinx compatibility added for Doxygen comments.
+  - Some minor regressions introduced in 4.0.0 were fixed.
+  - Fix some C++17 compatibility problems in Python and Ruby generated
+code.
+  - Minor improvements/fixes for C#, Java, Javascript, Lua, MzScheme,
+Ocaml, Octave and Python.
+  
+  See https://raw.githubusercontent.com/swig/swig/master/CHANGES
+
+---

Old:

  rel-4.0.0.tar.gz

New:

  rel-4.0.1.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.DsrACn/_old  2019-09-19 15:45:35.503357364 +0200
+++ /var/tmp/diff_new_pack.DsrACn/_new  2019-09-19 15:45:35.527357359 +0200
@@ -28,7 +28,7 @@
 BuildRequires:  ruby-devel
 %endif
 Name:   swig
-Version:4.0.0
+Version:4.0.1
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0-or-later AND BSD-3-Clause

++ rel-4.0.0.tar.gz -> rel-4.0.1.tar.gz ++
 15095 lines of diff (skipped)




commit swig for openSUSE:Factory

2019-09-02 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2019-09-02 13:23:15

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.7948 (New)


Package is "swig"

Mon Sep  2 13:23:15 2019 rev:66 rq:702574 version:4.0.0

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2018-12-05 
09:38:26.161030633 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new.7948/swig.changes  2019-09-02 
13:23:19.773335245 +0200
@@ -1,0 +2,45 @@
+Wed May  8 12:57:04 UTC 2019 - Klaus Kämpf 
+
+- Update to 4.0.0
+  - Support for Doxygen documentation comments which are parsed and
+converted into JavaDoc or PyDoc comments.
+  - STL wrappers improved for C#, Java and Ruby.
+  - C++11 STL containers added for Java, Python and Ruby.
+  - Improved support for parsing C++11 and C++14 code.
+  - Various fixes for shared_ptr.
+  - Various C preprocessor corner case fixes.
+  - Corner case fixes for member function pointers.
+  - Python module overhaul by simplifying the generated code and turning
+most optimizations on by default.
+  - %template improvements wrt scoping to align with C++ explicit
+template instantiations.
+  - Added support for a command-line options file (sometimes
+called a response file).
+  - Numerous enhancements and fixes for all supported target languages.
+  - SWIG now classifies the status of target languages into either
+'Experimental' or 'Supported' to indicate the expected maturity
+level.
+  - Support for CFFI, Allegrocl, Chicken, CLISP, S-EXP, UFFI, Pike,
+Modula3 has been removed.
+  - Octave 4.4-5.1 support added.
+  - PHP5 support removed, PHP7 is now the supported PHP version.
+  - Minimum Python version required is now 2.7, 3.2-3.7 are the only
+other versions supported.
+  - Added support for Javascript NodeJS versions 2-10.
+  - OCaml support is much improved and updated, minimum OCaml version
+required is now 3.12.0.
+
+  See https://raw.githubusercontent.com/swig/swig/master/CHANGES
+
+- Drop patches (all included)
+  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
+  swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
+  swig-perl526.patch
+  swig-3.0.12-fix-collections.patch
+  swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
+  swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
+  swig-3.0.12-support-octave-4.4.patch
+  swig-ocaml-int64.patch
+  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
+
+---

Old:

  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
  swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
  swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
  swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
  swig-3.0.12-fix-collections.patch
  swig-3.0.12-support-octave-4.4.patch
  swig-3.0.12.tar.gz
  swig-ocaml-int64.patch
  swig-perl526.patch

New:

  rel-4.0.0.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.A1XZ5O/_old  2019-09-02 13:23:20.909335031 +0200
+++ /var/tmp/diff_new_pack.A1XZ5O/_new  2019-09-02 13:23:20.909335031 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -28,24 +28,15 @@
 BuildRequires:  ruby-devel
 %endif
 Name:   swig
-Version:3.0.12
+Version:4.0.0
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0-or-later AND BSD-3-Clause
 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
+Source: 
https://github.com/%{name}/%{name}/archive/rel-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
 Patch2: swig308-isfinite.diff
-Patch3: swig-ocaml-int64.patch
-Patch4: swig-perl526.patch
-Patch5: 
swig-3.0.12-Coverity-fix-issue-reported-for-SWI

commit swig for openSUSE:Factory

2018-12-05 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2018-12-05 09:38:16

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new.19453 (New)


Package is "swig"

Wed Dec  5 09:38:16 2018 rev:65 rq:653076 version:3.0.12

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2018-09-26 
16:00:47.648559195 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new.19453/swig.changes 2018-12-05 
09:38:26.161030633 +0100
@@ -1,0 +2,6 @@
+Fri Nov 30 12:58:08 UTC 2018 - badshah...@gmail.com
+
+- Add swig-3.0.12-support-octave-4.4.patch to add support for
+  octave 4.4; patch taken from upstream git (gh#swig/swig#1256).
+
+---

New:

  swig-3.0.12-support-octave-4.4.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.jo2sdI/_old  2018-12-05 09:38:27.221029473 +0100
+++ /var/tmp/diff_new_pack.jo2sdI/_new  2018-12-05 09:38:27.221029473 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -45,6 +45,7 @@
 Patch8: 
swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
 Patch9: 
swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
 Patch10:swig-3.0.12-fix-collections.patch
+Patch11:swig-3.0.12-support-octave-4.4.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison

++ swig-3.0.12-support-octave-4.4.patch ++
 975 lines (skipped)




commit swig for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2018-09-26 16:00:34

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Wed Sep 26 16:00:34 2018 rev:64 rq:636298 version:3.0.12

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2018-01-16 
09:34:56.690542293 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2018-09-26 
16:00:47.648559195 +0200
@@ -1,0 +2,14 @@
+Mon Sep 17 12:15:04 UTC 2018 - Tomáš Chvátal 
+
+- Add patches to build with python 3.7 properly:
+  * swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
+  * swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
+  * swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
+  * swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
+  * swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
+  * swig-3.0.12-fix-collections.patch
+- Use version req to check for 1500 instead for non-existing release
+- Move to generic requires those that are true under both conditions
+- Use autopatch to apply all the patches at once
+
+---

New:

  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
  swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
  swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
  swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
  swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
  swig-3.0.12-fix-collections.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.HR0uA4/_old  2018-09-26 16:00:48.564557605 +0200
+++ /var/tmp/diff_new_pack.HR0uA4/_new  2018-09-26 16:00:48.568557598 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,34 +21,40 @@
 %define docpath %{_docdir}/%{name}-%{version}
 BuildRequires:  perl-Test-Simple
 BuildRequires:  perl-devel
-BuildRequires:  pkgconfig
 BuildRequires:  ruby
 %endif
 %if 0%{?suse_version} > 0
 %define docpath %{_docdir}/%{name}
-BuildRequires:  fdupes
-BuildRequires:  pkgconfig
 BuildRequires:  ruby-devel
 %endif
 Name:   swig
 Version:3.0.12
 Release:0
 Summary:Simplified Wrapper and Interface Generator
-License:GPL-3.0+ AND BSD-3-Clause
+License:GPL-3.0-or-later AND BSD-3-Clause
 Group:  Development/Languages/C and C++
-Url:http://www.swig.org/
+URL:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
 Patch2: swig308-isfinite.diff
 Patch3: swig-ocaml-int64.patch
 Patch4: swig-perl526.patch
+Patch5: 
swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch
+Patch6: 
swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_FixMetho.patch
+Patch7: 
swig-3.0.12-Coverity-fix-issue-reported-for-wrapper-argument-che.patch
+Patch8: 
swig-3.0.12-Fix-Coverity-issue-reported-for-setslice-pycontainer.patch
+Patch9: 
swig-3.0.12-Fix-generated-code-for-constant-expressions-containi.patch
+Patch10:swig-3.0.12-fix-collections.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pcre-devel
 BuildRequires:  perl
-%if 0%{?suse_version} > 1325
+BuildRequires:  pkgconfig
+%if 0%{?suse_version} >= 1500
 BuildRequires:  libboost_headers-devel
 BuildRequires:  python3-devel
 BuildRequires:  python3-tools
@@ -113,9 +119,7 @@
 
 %prep
 %setup -q
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%autopatch -p1
 
 %build
 %ifarch s390 s390x
@@ -130,7 +134,7 @@
 make %{?_smp_mflags}
 
 %check
-%if 0%{?suse_version} > 1325
+%if 0%{?suse_version} >= 1500
 export PY3=true
 %endif
 make %{?_smp_mflags} check

++ swig-3.0.12-Coverity-fix-issue-reported-for-SWIG_Python_ConvertF.patch 
++
>From 21f532975f59f0c156c76cc739f5a93f57d8f6cb Mon Sep 17 00:00:00 2001
From: Mark Dufour 
Date: Tue, 14 Feb 2017 10:48:30 +0100
Subject: [PATCH] [Coverity] fix issue reported for
 SWIG_Python_ConvertFunctionPtr

Fix Coverity issue reported for SWIG_Python_ConvertFunctionPtr:

"Execution cannot reach this statement: *ptr = vptr;"

Because if 'ty' is null, then desc be

commit swig for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2018-01-16 09:34:55

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Tue Jan 16 09:34:55 2018 rev:63 rq:561560 version:3.0.12

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2017-11-14 
14:05:59.760186195 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2018-01-16 
09:34:56.690542293 +0100
@@ -1,0 +2,8 @@
+Wed Jan  3 14:30:52 UTC 2018 - tchva...@suse.com
+
+- Reduce some conditionals for old distros lets consider sle11/rhel6
+  as minimal supported configuration
+- Make sure we can be built and distributed with python3 only
+  present in the system
+
+---



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.mHFgq2/_old  2018-01-16 09:34:57.474505613 +0100
+++ /var/tmp/diff_new_pack.mHFgq2/_new  2018-01-16 09:34:57.478505425 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,12 +17,24 @@
 
 
 %bcond_with  swig_ocaml
-
+%if 0%{?fedora} + 0%{?rhel_version} + 0%{?centos_version} > 0
+%define docpath %{_docdir}/%{name}-%{version}
+BuildRequires:  perl-Test-Simple
+BuildRequires:  perl-devel
+BuildRequires:  pkgconfig
+BuildRequires:  ruby
+%endif
+%if 0%{?suse_version} > 0
+%define docpath %{_docdir}/%{name}
+BuildRequires:  fdupes
+BuildRequires:  pkgconfig
+BuildRequires:  ruby-devel
+%endif
 Name:   swig
 Version:3.0.12
 Release:0
 Summary:Simplified Wrapper and Interface Generator
-License:GPL-3.0+ and BSD-3-Clause
+License:GPL-3.0+ AND BSD-3-Clause
 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
@@ -32,56 +44,24 @@
 Patch4: swig-perl526.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  pcre-devel
+BuildRequires:  perl
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
-BuildRequires:  python2-devel
 BuildRequires:  python3-devel
+BuildRequires:  python3-tools
 %else
 BuildRequires:  boost-devel
 BuildRequires:  python-devel
 %endif
-BuildRequires:  gcc-c++
-BuildRequires:  libtool
 %if %{with swig_ocaml}
 BuildRequires:  ncurses-devel
 BuildRequires:  ocaml
 BuildRequires:  ocaml-camlp4-devel
 BuildRequires:  ocaml-findlib
 %endif
-BuildRequires:  pcre-devel
-BuildRequires:  perl
-%if 0%{?rhel_version} > 0
-BuildRequires:  -vim
-%endif
-%if 0%{?fedora} + 0%{?rhel_version} + 0%{?centos_version} > 0
-%define docpath %{_docdir}/%{name}-%{version}
-BuildRequires:  pkgconfig
-BuildRequires:  ruby
-%if 0%{?rhel_version} < 600 && 0%{?centos_version} < 600
-# not available on RHEL-6
-BuildRequires:  ruby-devel
-%endif
-%if 0%{?fedora} > 0 || 0%{?rhel_version} >= 600  ||0%{?centos_version} >= 600
-BuildRequires:  perl-Test-Simple
-BuildRequires:  perl-devel
-%endif
-%endif
-%if 0%{?suse_version} > 0
-%define docpath %{_docdir}/%{name}
-%if 0%{?suse_version} > 1010
-BuildRequires:  fdupes
-%endif
-# SLE9
-%if 0%{?suse_version} < 920
-BuildRequires:  pkgconfig
-BuildRequires:  ruby
-%else
-BuildRequires:  pkg-config
-# SLE10 and up
-BuildRequires:  ruby-devel
-%endif
-%endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 SWIG is a compiler that attempts to make it easy to integrate C, C++,
@@ -98,9 +78,7 @@
 License:BSD-3-Clause
 Group:  Documentation/Man
 Requires:   swig
-%if 0%{?suse_version} >= 1120
 BuildArch:  noarch
-%endif
 
 %description doc
 SWIG is a compiler that attempts to make it easy to integrate C, C++,
@@ -152,10 +130,13 @@
 make %{?_smp_mflags}
 
 %check
-make check
+%if 0%{?suse_version} > 1325
+export PY3=true
+%endif
+make %{?_smp_mflags} check
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 
 install -d %{buildroot}%{docpath}
 cp -a TODO ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \
@@ -175,9 +156,7 @@
xargs --no-run-if-empty chmod -x
 ln -s %{_libdir}/swig/examples %{buildroot}%{docpath}/Examples
 
-%if 0%{?suse_version} > 1010
 %fdupes %{buildroot}
-%endif
 
 %files
 %defattr(644,root,root,755)
@@ -187,12 +166,10 @@
 %attr(755,root,root) %{_bindir}/swig
 
 %files doc
-%defattr(-,root,root)
 %{docpath}/Devel
 %{docpat

commit swig for openSUSE:Factory

2017-11-14 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2017-11-14 14:05:53

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Tue Nov 14 14:05:53 2017 rev:62 rq:539788 version:3.0.12

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2017-09-25 
13:57:33.462525627 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2017-11-14 
14:05:59.760186195 +0100
@@ -1,0 +2,5 @@
+Tue Nov  7 20:07:12 UTC 2017 - mplus...@suse.com
+
+- Run python2 and python3 tests for Factory
+
+---



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.6g8PJ3/_old  2017-11-14 14:06:00.816147687 +0100
+++ /var/tmp/diff_new_pack.6g8PJ3/_new  2017-11-14 14:06:00.820147542 +0100
@@ -34,8 +34,11 @@
 BuildRequires:  automake
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
+BuildRequires:  python2-devel
+BuildRequires:  python3-devel
 %else
 BuildRequires:  boost-devel
+BuildRequires:  python-devel
 %endif
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -47,7 +50,6 @@
 %endif
 BuildRequires:  pcre-devel
 BuildRequires:  perl
-BuildRequires:  python-devel
 %if 0%{?rhel_version} > 0
 BuildRequires:  -vim
 %endif




commit swig for openSUSE:Factory

2017-09-25 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2017-09-25 13:57:31

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Mon Sep 25 13:57:31 2017 rev:61 rq:528527 version:3.0.12

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2017-02-06 
14:35:15.652853086 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2017-09-25 
13:57:33.462525627 +0200
@@ -1,0 +2,5 @@
+Sun Sep 24 10:47:22 UTC 2017 - co...@suse.com
+
+- add swig-perl526.patch from upstream to work with perl 5.26
+
+---

New:

  swig-perl526.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.qVTfug/_old  2017-09-25 13:57:34.210420401 +0200
+++ /var/tmp/diff_new_pack.qVTfug/_new  2017-09-25 13:57:34.210420401 +0200
@@ -29,6 +29,7 @@
 Source1:%{name}.rpmlintrc
 Patch2: swig308-isfinite.diff
 Patch3: swig-ocaml-int64.patch
+Patch4: swig-perl526.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 %if 0%{?suse_version} > 1325
@@ -134,6 +135,7 @@
 %setup -q
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %ifarch s390 s390x

++ swig-perl526.patch ++
>From 8855ef2b482c09da9255079b0fac92d08c8308fb Mon Sep 17 00:00:00 2001
From: Olly Betts 
Date: Tue, 13 Jun 2017 17:32:37 +1200
Subject: [PATCH] [Perl] Fix testsuite to work without . in @INC

"." was removed from @INC in Perl 5.26 for security reasons, and has
also been removed from older versions in some distros.

Fixes https://github.com/swig/swig/issues/997 reported by lfam.
---
 Examples/Makefile.in   | 2 +-
 Examples/test-suite/perl5/run-perl-test.pl | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Examples/Makefile.in b/Examples/Makefile.in
index 7682b565fc..8a88fb5eaa 100644
--- a/Examples/Makefile.in
+++ b/Examples/Makefile.in
@@ -282,7 +282,7 @@ perl5_static_cpp: $(SRCDIR_SRCS)
 # -
 
 perl5_run:
-   $(RUNTOOL) $(PERL) $(PERL5_SCRIPT) $(RUNPIPE)
+   $(RUNTOOL) $(PERL) -I. $(PERL5_SCRIPT) $(RUNPIPE)
 
 # -
 # Version display
diff --git a/Examples/test-suite/perl5/run-perl-test.pl 
b/Examples/test-suite/perl5/run-perl-test.pl
index 106bf002bb..5ea4e51157 100644
--- a/Examples/test-suite/perl5/run-perl-test.pl
+++ b/Examples/test-suite/perl5/run-perl-test.pl
@@ -7,7 +7,7 @@
 
 my $command = shift @ARGV;
 
-my $output = `$^X $command 2>&1`;
+my $output = `$^X -I. $command 2>&1`;
 
 die "SWIG Perl test failed: \n\n$output\n"
   if $?;



commit swig for openSUSE:Factory

2017-02-06 Thread root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2017-02-06 14:35:08

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2017-01-10 
10:38:10.524219013 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2017-02-06 
14:35:15.652853086 +0100
@@ -1,0 +2,14 @@
+Thu Feb  2 14:56:53 UTC 2017 - adam.ma...@suse.de
+
+- use individual libboost-*-devel packages instead of boost-devel
+
+---
+Mon Jan 30 07:58:10 UTC 2017 - kkae...@suse.com
+
+- Update to 3.0.12
+  - Add support for Octave-4.2.
+  - Enhance %extend to support template functions.
+  - Language specific enhancements and fixes for C#, D, Guile,
+Java, PHP7.
+
+---

Old:

  swig-3.0.11.tar.gz

New:

  swig-3.0.12.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.Fbq6F8/_old  2017-02-06 14:35:17.640566112 +0100
+++ /var/tmp/diff_new_pack.Fbq6F8/_new  2017-02-06 14:35:17.640566112 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -19,7 +19,7 @@
 %bcond_with  swig_ocaml
 
 Name:   swig
-Version:3.0.11
+Version:3.0.12
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -31,7 +31,11 @@
 Patch3: swig-ocaml-int64.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_headers-devel
+%else
 BuildRequires:  boost-devel
+%endif
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 %if %{with swig_ocaml}

++ swig-3.0.11.tar.gz -> swig-3.0.12.tar.gz ++
/work/SRC/openSUSE:Factory/swig/swig-3.0.11.tar.gz 
/work/SRC/openSUSE:Factory/.swig.new/swig-3.0.12.tar.gz differ: char 5, line 1




commit swig for openSUSE:Factory

2016-06-26 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2016-06-26 23:51:29

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2016-06-12 
18:51:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2016-06-26 
23:51:30.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 13 06:10:47 UTC 2016 - kkae...@suse.com
+
+- Update to 3.0.10
+  - Regression fixes for smart pointers and importing Python modules.
+
+---

Old:

  swig-3.0.9.tar.gz

New:

  swig-3.0.10.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.ebGc8h/_old  2016-06-26 23:51:31.0 +0200
+++ /var/tmp/diff_new_pack.ebGc8h/_new  2016-06-26 23:51:31.0 +0200
@@ -19,7 +19,7 @@
 %bcond_with  swig_ocaml
 
 Name:   swig
-Version:3.0.9
+Version:3.0.10
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause

++ swig-3.0.9.tar.gz -> swig-3.0.10.tar.gz ++
/work/SRC/openSUSE:Factory/swig/swig-3.0.9.tar.gz 
/work/SRC/openSUSE:Factory/.swig.new/swig-3.0.10.tar.gz differ: char 5, line 1




commit swig for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2016-06-12 18:51:13

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2016-05-26 
23:53:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2016-06-12 
18:51:15.0 +0200
@@ -1,0 +2,13 @@
+Mon May 30 09:51:37 UTC 2016 - kkae...@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
+
+---

Old:

  swig-3.0.8.tar.gz
  swig308-Fix-li_boost_array-test.patch

New:

  swig-3.0.9.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.ppLdad/_old  2016-06-12 18:51:16.0 +0200
+++ /var/tmp/diff_new_pack.ppLdad/_new  2016-06-12 18:51:16.0 +0200
@@ -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 @@
 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 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2
+%patch2 -p1
 %patch3 -p1
 
 %build

++ swig-3.0.8.tar.gz -> swig-3.0.9.tar.gz ++
/work/SRC/openSUSE:Factory/swig/swig-3.0.8.tar.gz 
/work/SRC/openSUSE:Factory/.swig.new/swig-3.0.9.tar.gz differ: char 5, line 1

++ swig308-isfinite.diff ++
--- /var/tmp/diff_new_pack.ppLdad/_old  2016-06-12 18:51:16.0 +0200
+++ /var/tmp/diff_new_pack.ppLdad/_new  2016-06-12 18:51:16.0 +0200
@@ -1,6 +1,7 @@
 Lib/typemaps/fragments.swg.orig2016-02-02 14:42:14.223467628 +
-+++ Lib/typemaps/fragments.swg 2016-02-02 14:43:41.840491612 +
-@@ -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.0 +0200
 ./Lib/typemaps/fragments.swg   2016-06-08 11:13:09.475671763 +0200
+@@ -178,6 +178,8 @@
  # elif defined(__sun) && defined(__SVR4)
  #  include 
  #  define SWIG_isfinite(X) (finite(X))




commit swig for openSUSE:Factory

2016-05-26 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2016-05-26 23:53:39

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2016-02-12 
11:21:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2016-05-26 
23:53:40.0 +0200
@@ -1,0 +2,6 @@
+Mon May 23 15:19:08 UTC 2016 - o...@aepfle.de
+
+- Add disabled build conditional for ocaml support (fate#320836)
+- Add swig-ocaml-int64.patch (ocaml PR#6517, fate#320836)
+
+---
@@ -139,0 +146,5 @@
+
+---
+Mon Mar 10 01:00:30 CET 2014 - r...@suse.de
+
+- set CCSHARED to "-fPIC" on s390/s390x 

New:

  swig-ocaml-int64.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.dcF0rF/_old  2016-05-26 23:53:41.0 +0200
+++ /var/tmp/diff_new_pack.dcF0rF/_new  2016-05-26 23:53:41.0 +0200
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_with  swig_ocaml
+
 Name:   swig
 Version:3.0.8
 Release:0
@@ -27,11 +29,18 @@
 Source1:%{name}.rpmlintrc
 Patch1: swig308-Fix-li_boost_array-test.patch
 Patch2: swig308-isfinite.diff
+Patch3: swig-ocaml-int64.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
+%if %{with swig_ocaml}
+BuildRequires:  ncurses-devel
+BuildRequires:  ocaml
+BuildRequires:  ocaml-camlp4-devel
+BuildRequires:  ocaml-findlib
+%endif
 BuildRequires:  pcre-devel
 BuildRequires:  perl
 BuildRequires:  python-devel
@@ -122,10 +131,18 @@
 %setup -q
 %patch1 -p1
 %patch2
+%patch3 -p1
 
 %build
+%ifarch s390 s390x
+export CCSHARED="-fPIC"
+%endif
 ./autogen.sh
-%configure --disable-ccache
+%configure \
+%if %{without swig_ocaml}
+   --without-ocaml \
+%endif
+   --disable-ccache
 make %{?_smp_mflags}
 
 %check

++ swig-ocaml-int64.patch ++
ocaml pr#6517
---
 Lib/ocaml/ocamldec.swg |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/Lib/ocaml/ocamldec.swg
+++ b/Lib/ocaml/ocamldec.swg
@@ -101,9 +101,9 @@ SWIGEXT {
 
 
 #ifndef ARCH_ALIGN_INT64
-#define SWIG_Int64_val(v) (*((int64 *) SWIG_Data_custom_val(v)))
+#define SWIG_Int64_val(v) (*((int64_t *) SWIG_Data_custom_val(v)))
 #else
-CAMLextern int64 Int64_val(caml_value_t v);
+CAMLextern int64_t Int64_val(caml_value_t v);
 #define SWIG_Int64_val(v) Int64_val(v)
 #endif
 



commit swig for openSUSE:Factory

2016-02-12 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2016-02-12 11:21:04

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2016-01-11 
19:10:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2016-02-12 
11:21:05.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb  2 14:45:14 UTC 2016 - rguent...@suse.com
+
+- Add swig308-isfinite.diff to fix isfinite issue with new glibc.
+
+---

New:

  swig308-isfinite.diff



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.FVyUdh/_old  2016-02-12 11:21:06.0 +0100
+++ /var/tmp/diff_new_pack.FVyUdh/_new  2016-02-12 11:21:06.0 +0100
@@ -26,6 +26,7 @@
 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
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -120,6 +121,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2
 
 %build
 ./autogen.sh

++ swig308-isfinite.diff ++
--- Lib/typemaps/fragments.swg.orig 2016-02-02 14:42:14.223467628 +
+++ Lib/typemaps/fragments.swg  2016-02-02 14:43:41.840491612 +
@@ -175,6 +175,8 @@
 # elif defined(__sun) && defined(__SVR4)
 #  include 
 #  define SWIG_isfinite(X) (finite(X))
+# elif defined(__GNUC__)
+#  define SWIG_isfinite(X) (__builtin_isfinite(X))
 # endif
 #endif
 %}



commit swig for openSUSE:Factory

2016-01-11 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2016-01-11 19:10:12

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2015-08-07 
00:18:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2016-01-11 
19:10:13.0 +0100
@@ -1,0 +2,16 @@
+Thu Jan  7 21:08:33 UTC 2016 - idon...@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 - kkae...@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.
+
+---

Old:

  swig-3.0.7.tar.gz

New:

  swig-3.0.8.tar.gz
  swig308-Fix-li_boost_array-test.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.8lIfzn/_old  2016-01-11 19:10:15.0 +0100
+++ /var/tmp/diff_new_pack.8lIfzn/_new  2016-01-11 19:10:15.0 +0100
@@ -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 @@
 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 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 ./autogen.sh

++ swig-3.0.7.tar.gz -> swig-3.0.8.tar.gz ++
/work/SRC/openSUSE:Factory/swig/swig-3.0.7.tar.gz 
/work/SRC/openSUSE:Factory/.swig.new/swig-3.0.8.tar.gz differ: char 5, line 1

++ swig308-Fix-li_boost_array-test.patch ++
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.orig2016-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];



commit swig for openSUSE:Factory

2015-08-06 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2015-08-07 00:18:31

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2015-07-16 
17:14:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2015-08-07 
00:18:32.0 +0200
@@ -1,0 +2,10 @@
+Tue Aug  4 07:43:49 UTC 2015 - kkae...@suse.com
+
+- Update to 3.0.7
+  - Add support for Octave-4.0.0.
+  - Remove potential Android security exploit in generated Java classes.
+  - Minor new features and bug fixes.
+
+- drop swig-octave4.patch and swig-3.0.6.patch, upstream now
+
+---

Old:

  swig-3.0.6.patch
  swig-3.0.6.tar.gz
  swig-octave4.patch

New:

  swig-3.0.7.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.4pCxwx/_old  2015-08-07 00:18:35.0 +0200
+++ /var/tmp/diff_new_pack.4pCxwx/_new  2015-08-07 00:18:35.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:3.0.6
+Version:3.0.7
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,10 +25,6 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-# Ocaml detection is wrong
-Patch0: %{name}-%{version}.patch
-# PATCH-FIX-UPSTREAM swig-octave4.patch badshah...@gmail.com -- Fix swig 
bindings for octave >= 4.0
-Patch1: swig-octave4.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -122,8 +118,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 
 %build
 ./autogen.sh

++ swig-3.0.6.tar.gz -> swig-3.0.7.tar.gz ++
 12212 lines of diff (skipped)




commit swig for openSUSE:Factory

2015-07-16 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2015-07-16 17:14:03

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2015-02-06 
10:48:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2015-07-16 
17:14:05.0 +0200
@@ -1,0 +2,22 @@
+Fri Jul 10 14:02:07 UTC 2015 - badshah...@gmail.com
+
+- Add swig-octave4.patch to fix swig bindings for octave >= 4.0
+  (patch taken from Fedora, and has been submitted upstream).
+
+---
+Mon Jul  6 08:43:00 UTC 2015 - kkae...@suse.com
+
+- Fix ocaml check (swig-3.0.6.patch)
+
+---
+Mon Jul  6 06:22:21 UTC 2015 - kkae...@suse.com
+
+- Update to 3.0.6
+  - Stability and regression fixes.
+  - Fixed parsing of C++ corner cases.
+  - Language improvements and bug fixes for C#, Go, Java, Lua,
+Python, R.
+
+- explicitly disable ocaml (bug in configure script)
+
+---

Old:

  swig-3.0.5.tar.gz

New:

  swig-3.0.6.patch
  swig-3.0.6.tar.gz
  swig-octave4.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.ZIp43t/_old  2015-07-16 17:14:06.0 +0200
+++ /var/tmp/diff_new_pack.ZIp43t/_new  2015-07-16 17:14:06.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:3.0.5
+Version:3.0.6
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,7 +25,10 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-
+# Ocaml detection is wrong
+Patch0: %{name}-%{version}.patch
+# PATCH-FIX-UPSTREAM swig-octave4.patch badshah...@gmail.com -- Fix swig 
bindings for octave >= 4.0
+Patch1: swig-octave4.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -34,7 +37,6 @@
 BuildRequires:  pcre-devel
 BuildRequires:  perl
 BuildRequires:  python-devel
-# BuildRequires:  v8-devel
 %if 0%{?rhel_version} > 0
 BuildRequires:  -vim
 %endif
@@ -120,8 +122,11 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
+./autogen.sh
 %configure --disable-ccache
 make %{?_smp_mflags}
 

++ swig-3.0.6.patch ++
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs ../orig-swig-3.0.6/configure.ac ./configure.ac
--- ../orig-swig-3.0.6/configure.ac 2015-07-05 18:59:41.0 +0200
+++ ./configure.ac  2015-07-06 10:19:14.832123159 +0200
@@ -1891,7 +1891,7 @@
 
 AC_MSG_CHECKING(for Ocaml compiler)
if test -z "$OCAMLC"; then
-   AC_CHECK_PROGS(OCAMLC, ocamlc, :)
+   AC_CHECK_PROGS(OCAMLC, ocamlc, )
 fi
 
 AC_MSG_CHECKING(for Ocaml toplevel creator)
++ swig-3.0.5.tar.gz -> swig-3.0.6.tar.gz ++
 39589 lines of diff (skipped)

++ swig-octave4.patch ++
diff --git a/Examples/test-suite/octave/default_constructor_runme.m 
b/Examples/test-suite/octave/default_constructor_runme.m
index 2f8bb39..ebe553b 100644
--- a/Examples/test-suite/octave/default_constructor_runme.m
+++ b/Examples/test-suite/octave/default_constructor_runme.m
@@ -14,24 +14,18 @@ try
 catch
 end_try_catch
 
-del_b = dc.delete_B;
-
 try
 bb = dc.new_BB();
 error("Whoa. new_BB created.")
 catch
 end_try_catch
 
-del_bb = dc.delete_BB;
-
 try
 c = dc.new_C();
 error("Whoa. new_C created.")
 catch
 end_try_catch
 
-del_c = dc.delete_C;
-
 cc = dc.new_CC();
 dc.delete_CC(cc);
 
@@ -41,24 +35,18 @@ try
 catch
 end_try_catch
 
-del_d = dc.delete_D;
-
 try
 dd = dc.new_DD();
 error("Whoa. new_DD created")
 catch
 end_try_catch
 
-dd = dc.delete_DD;
-
 try
 ad = dc.new_AD();
 error("Whoa. new_AD created")
 catch
 end_try_catch
 
-del_ad = dc.delete_AD;
-
 e = dc.new_E();
 dc.delete_E(e);
 
@@ -71,12 +59,10 @@ try
 catch
 end_try_catch
 
-del_eb = dc.delete_EB;
-
 f = dc.new_F();
 
 try
-del_f = dc.delete_F;
+del_f = dc.delete_F(f);
 error("Whoa. delete_F created")
 catch
 end_try_catch
@@ -86,7 +72,7 @@ dc.F_destroy(f);
 g = dc.new_G();
 
 try
-del_g = dc.delete_G;
+del_g = dc.delete_G(g);
 error("Whoa. delete_G created")
 catch
 end_try_catch
diff --git a/Lib/octave/octcontainer.swg b/Lib/octave/octcontainer.swg
index 723256c..0211b33 100644
--- a/Lib/octave/octcontainer.swg
+++ b/Lib/octave/octcontainer.swg
@@ -12,6 +12,7 @@
  *

commit swig for openSUSE:Factory

2015-02-06 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2015-02-06 10:48:31

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2015-01-20 
19:12:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2015-02-06 
10:48:33.0 +0100
@@ -1,0 +2,8 @@
+Sun Feb  1 18:32:16 UTC 2015 - dmitr...@opensuse.org
+
+-Update to version 3.0.5 
+ * Added support for Scilab.
+ * Important Python regression fix when wrapping C++ default arguments.
+ * Minor improvements for C#, Go, Octave, PHP and Python.
+
+---

Old:

  swig-3.0.4.tar.gz

New:

  swig-3.0.5.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.HLbG96/_old  2015-02-06 10:48:34.0 +0100
+++ /var/tmp/diff_new_pack.HLbG96/_new  2015-02-06 10:48:34.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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.4
+Version:3.0.5
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause

++ swig-3.0.4.tar.gz -> swig-3.0.5.tar.gz ++
 24564 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2015-01-20 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2015-01-20 19:12:03

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2014-09-17 
21:24:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2015-01-20 
19:12:05.0 +0100
@@ -1,0 +2,17 @@
+Thu Jan 15 06:57:56 UTC 2015 - kkae...@suse.com
+
+- Update to 3.0.4
+  - Python regression fix when wrapping C++ default arguments.
+  - Improved error messages.
+
+---
+Wed Jan  7 08:23:35 UTC 2015 - kkae...@suse.com
+
+- Update to 3.0.3
+  - Add support for C++11 strongly typed enumerations.
+  - Numerous bug fixes and minor enhancements for C#, D, Go, Java,
+Javascript, PHP, Perl and Python wrappers.
+
+- drop nested_classes.diff, patch is upstream
+
+---

Old:

  nested_classes.diff
  swig-3.0.2.tar.gz

New:

  swig-3.0.4.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.h8BAc6/_old  2015-01-20 19:12:07.0 +0100
+++ /var/tmp/diff_new_pack.h8BAc6/_new  2015-01-20 19:12:07.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:3.0.2
+Version:3.0.4
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,7 +25,7 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-Patch:  nested_classes.diff
+
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -120,7 +120,6 @@
 
 %prep
 %setup -q
-%patch
 
 %build
 %configure --disable-ccache

++ swig-3.0.2.tar.gz -> swig-3.0.4.tar.gz ++
 41305 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2014-09-17 21:24:34

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2014-08-29 
17:42:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2014-09-17 
21:24:49.0 +0200
@@ -1,0 +2,5 @@
+Sun Sep 14 15:34:33 UTC 2014 - sch...@linux-m68k.org
+
+- Fix syntax error in find command
+
+---



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.ubPOZb/_old  2014-09-17 21:24:50.0 +0200
+++ /var/tmp/diff_new_pack.ubPOZb/_new  2014-09-17 21:24:50.0 +0200
@@ -146,7 +146,7 @@
 
 # fix perms
 chmod -x %{buildroot}%{docpath}/Manual/*
-find %{buildroot}%{_libdir}/swig -name '*.h' -perm +111 | \
+find %{buildroot}%{_libdir}/swig -name '*.h' -perm /111 | \
xargs --no-run-if-empty chmod -x
 ln -s %{_libdir}/swig/examples %{buildroot}%{docpath}/Examples
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2014-08-29 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2014-08-29 17:42:54

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2014-06-19 
13:20:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2014-08-29 
17:42:56.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug 25 14:17:29 CEST 2014 - m...@suse.de
+
+- support nested classes in ruby [bnc#892480]
+  new patch: nested_classes.diff
+
+---

New:

  nested_classes.diff



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.UUFuHd/_old  2014-08-29 17:42:59.0 +0200
+++ /var/tmp/diff_new_pack.UUFuHd/_new  2014-08-29 17:42:59.0 +0200
@@ -25,6 +25,7 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
+Patch:  nested_classes.diff
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -119,6 +120,7 @@
 
 %prep
 %setup -q
+%patch
 
 %build
 %configure --disable-ccache

++ nested_classes.diff ++
--- ./Source/CParse/parser.c.orig   2014-08-26 12:24:53.381788068 +
+++ ./Source/CParse/parser.c2014-08-26 12:36:45.700287073 +
@@ -1065,7 +1065,7 @@ static Node *nested_forward_declaration(
 }
   }
 
-  if (!GetFlag(currentOuterClass, "nested")) {
+  if (!currentOuterClass || !GetFlag(currentOuterClass, "nested")) {
 if (nn && Equal(nodeType(nn), "classforward")) {
   Node *n = nn;
   SWIG_WARN_NODE_BEGIN(n);
@@ -7562,6 +7562,8 @@ yyreduce:
   } else if (nscope_inner) {
 /* this is tricky */
 /* we add the declaration in the original namespace */
+if (Strcmp(nodeType(nscope_inner), "class") == 0 && 
cparse_cplusplus && ignore_nested_classes && !GetFlag((yyval.node), 
"feature:flatnested"))
+  (yyval.node) = nested_forward_declaration((yyvsp[(1) - 
(9)].id), (yyvsp[(2) - (9)].id), (yyvsp[(3) - (9)].str), Copy((yyvsp[(3) - 
(9)].str)), (yyvsp[(9) - (9)].node));
 appendChild(nscope_inner, (yyval.node));
 Swig_symbol_setscope(Getattr(nscope_inner, "symtab"));
 Delete(Namespaceprefix);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2014-06-19 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2014-06-19 13:19:59

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2014-03-20 
06:53:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2014-06-19 
13:20:06.0 +0200
@@ -1,0 +2,17 @@
+Thu Jun  5 07:20:40 UTC 2014 - kkae...@suse.com
+
+- Update to 3.0.2
+  - Bug fix during install and a couple of other minor changes.
+
+---
+Wed May 28 06:33:31 UTC 2014 - kkae...@suse.com
+
+- Update to 3.0.1
+  - Javascript module added. This supports JavascriptCore (Safari/Webkit),
+v8 (Chromium) and node.js currently.
+  - A few notable regressions introduced in 3.0.0 have been fixed - in
+Lua, nested classes and parsing of operator <<.
+  - The usual round of bug fixes and minor improvements for:
+C#, GCJ, Go, Java, Lua, PHP and Python.  
+
+---

Old:

  swig-3.0.0.tar.gz

New:

  swig-3.0.2.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.RS8ARY/_old  2014-06-19 13:20:07.0 +0200
+++ /var/tmp/diff_new_pack.RS8ARY/_new  2014-06-19 13:20:07.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:3.0.0
+Version:3.0.2
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -33,6 +33,7 @@
 BuildRequires:  pcre-devel
 BuildRequires:  perl
 BuildRequires:  python-devel
+# BuildRequires:  v8-devel
 %if 0%{?rhel_version} > 0
 BuildRequires:  -vim
 %endif

++ swig-3.0.0.tar.gz -> swig-3.0.2.tar.gz ++
 49204 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2014-03-19 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2014-03-20 06:53:28

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2014-02-13 
06:52:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2014-03-20 
06:53:31.0 +0100
@@ -1,0 +2,34 @@
+Mon Mar 17 07:46:53 UTC 2014 - kkae...@suse.com
+
+- Update to 3.0.0
+  - This is a major new release focusing primarily on C++
+improvements.
+  - C++11 support added. Please see documentation for details of
+supported features:
+http://www.swig.org/Doc3.0/CPlusPlus11.html
+  - Nested class support added. This has been taken full advantage
+of in Java and C#. Other languages can use the nested classes,
+but require further work for a more natural integration into
+the target language.
+  - We urge folk knowledgeable in the other target languages to
+step forward and help with this effort.
+  - Lua: improved metatables and support for %nspace.
+  - Go 1.3 support added.
+  - Python import improvements including relative imports.
+  - Python 3.3 support completed.
+  - Perl director support added.
+  - C# .NET 2 support is now the minimum. Generated using statements
+are replaced by fully qualified names.
+  - Bug fixes and improvements to the following languages:
+C#, Go, Guile, Java, Lua, Perl, PHP, Python, Octave, R, Ruby, Tcl
+  - Various other bug fixes and improvements affecting all
+languages.
+  - Note that this release contains some backwards incompatible
+changes in some languages.
+  - Full detailed release notes are in the changes file.
+
+- drop 0001-Fix-Ruby-tracking-code-to-use-C-hash.patch,
+  ruby-1.8.6-newobject.patch, and swig-fix_ocaml_type.patch.
+  All upstreamed.
+
+---

Old:

  0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
  ruby-1.8.6-newobject.patch
  swig-2.0.11.tar.gz
  swig-2.0.12.tar.gz
  swig-fix_ocaml_type.patch

New:

  swig-3.0.0.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.xEaENE/_old  2014-03-20 06:53:31.0 +0100
+++ /var/tmp/diff_new_pack.xEaENE/_new  2014-03-20 06:53:31.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.12
+Version:3.0.0
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,12 +25,6 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-# Fix the return type in declaration of caml_array_length
-Patch9: swig-fix_ocaml_type.patch
-# Fix SWIG object tracking to use C hash, not Ruby Hash, kkae...@suse.de
-Patch11:0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
-# Ruby 1.8.6 (SLE 10) differs in object tracking, kkae...@suse.de
-Patch12:ruby-1.8.6-newobject.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -124,14 +118,6 @@
 
 %prep
 %setup -q
-%if 0%{?suse_version} == 1010
-%patch12 -p1
-%endif
-# Ruby 1.9 for openSUSE 12.x
-%if 0%{?suse_version} >= 1220
-%patch11 -p1
-%endif
-%patch9
 
 %build
 %configure --disable-ccache

++ swig-2.0.11.tar.gz -> swig-3.0.0.tar.gz ++
 93785 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2014-02-12 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2014-02-13 06:52:51

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2014-01-31 
11:45:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2014-02-13 
06:52:53.0 +0100
@@ -1,0 +2,17 @@
+Sun Feb  9 18:30:13 UTC 2014 - kkae...@suse.com
+
+- Update to 2.0.12
+  - This is a maintenance release backporting some fixes from the
+pending 3.0.0 release.
+  - Octave 3.8 support added.
+  - C++11 support for new versions of erase/insert in the STL
+containers.
+  - Compilation fixes on some systems for the generated Lua, PHP,
+Python and R wrappers.
+ 
+  - Drop upstreamed patches:
+swig-lua-fix-void-return-for-int-functions.patch
+swig-support-octave-3.8.0.patch
+ruby-2.0-encoding-utf8.patch
+
+---

Old:

  ruby-2.0-encoding-utf8.patch
  swig-lua-fix-void-return-for-int-functions.patch
  swig-support-octave-3.8.0.patch

New:

  swig-2.0.12.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.aKD2eE/_old  2014-02-13 06:52:53.0 +0100
+++ /var/tmp/diff_new_pack.aKD2eE/_new  2014-02-13 06:52:53.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.11
+Version:2.0.12
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -27,16 +27,10 @@
 Source1:%{name}.rpmlintrc
 # Fix the return type in declaration of caml_array_length
 Patch9: swig-fix_ocaml_type.patch
-# Ruby 2.0 encodes to UTF-8, SWIG to US-ASCII-8BIT, kkae...@suse.de
-Patch10:ruby-2.0-encoding-utf8.patch
 # Fix SWIG object tracking to use C hash, not Ruby Hash, kkae...@suse.de
 Patch11:0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
 # Ruby 1.8.6 (SLE 10) differs in object tracking, kkae...@suse.de
 Patch12:ruby-1.8.6-newobject.patch
-# PATCH-FIX-UPSTREAM swig-lua-fix-void-return-for-int-functions.patch 
bnc#843310 badshah...@gmail.com -- Fix functions returning void when int is 
expected for lua bindings
-Patch13:swig-lua-fix-void-return-for-int-functions.patch
-# PATCH-FIX-UPSTREAM swig-support-octave-3.8.0.patch badshah...@gmail.com -- 
Support octave 3.8.0 (this fixes octave 3.8.0 bindings of several packages 
failing to build in Factory such as mathgl, plplot, etc.), patch taken from 
upstream and rebased for current version.
-Patch14:swig-support-octave-3.8.0.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -136,14 +130,8 @@
 # Ruby 1.9 for openSUSE 12.x
 %if 0%{?suse_version} >= 1220
 %patch11 -p1
-# Ruby 2.0 for openSUSE 13.1
-%if 0%{?suse_version} > 1230
-%patch10 -p1
-%endif
 %endif
 %patch9
-%patch13 -p1
-%patch14 -p1
 
 %build
 %configure --disable-ccache

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2014-01-31 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2014-01-31 11:45:07

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2013-10-02 
20:29:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2014-01-31 
11:45:07.0 +0100
@@ -1,0 +2,7 @@
+Wed Jan 29 19:57:02 UTC 2014 - badshah...@gmail.com
+
+- Add patch swig-support-octave-3.8.0.patch: adds support for
+  octave version 3.8.0 to swig; patch taken from upstream git
+  and rebased for present version. 
+
+---

New:

  swig-support-octave-3.8.0.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.lANoF2/_old  2014-01-31 11:45:08.0 +0100
+++ /var/tmp/diff_new_pack.lANoF2/_new  2014-01-31 11:45:08.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -35,6 +35,8 @@
 Patch12:ruby-1.8.6-newobject.patch
 # PATCH-FIX-UPSTREAM swig-lua-fix-void-return-for-int-functions.patch 
bnc#843310 badshah...@gmail.com -- Fix functions returning void when int is 
expected for lua bindings
 Patch13:swig-lua-fix-void-return-for-int-functions.patch
+# PATCH-FIX-UPSTREAM swig-support-octave-3.8.0.patch badshah...@gmail.com -- 
Support octave 3.8.0 (this fixes octave 3.8.0 bindings of several packages 
failing to build in Factory such as mathgl, plplot, etc.), patch taken from 
upstream and rebased for current version.
+Patch14:swig-support-octave-3.8.0.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -141,6 +143,7 @@
 %endif
 %patch9
 %patch13 -p1
+%patch14 -p1
 
 %build
 %configure --disable-ccache

++ swig-support-octave-3.8.0.patch ++
https://github.com/swig/swig/commit/5b167cc12daf9ea275c17fedaefc975450613ab2

>From 5b167cc12daf9ea275c17fedaefc975450613ab2 Mon Sep 17 00:00:00 2001
From: Karl Wette 
Date: Mon, 13 Jan 2014 18:24:17 +1300
Subject: [PATCH] octave: update support to Octave version 3.8.0

diff --git a/Lib/octave/octrun.swg b/Lib/octave/octrun.swg
index 41d1c7a..2174a0f 100644
--- a/Lib/octave/octrun.swg
+++ b/Lib/octave/octrun.swg
@@ -1,20 +1,88 @@
 
 #include 
-#ifndef OCTAVE_API_VERSION_NUMBER
-
-  // Hack to distinguish between Octave 3.2 and earlier versions before 
OCTAVE_API_VERSION_NUMBER existed
-  #define ComplexLU __ignore
-  #include 
-  #undef ComplexLU
-  #ifdef octave_Complex_LU_h
-  # define OCTAVE_API_VERSION_NUMBER 36
-  #else
-  # define OCTAVE_API_VERSION_NUMBER 37
-  #endif
 
-#endif
+// Macro for enabling features which require Octave version >= 
major.minor.patch
+#define SWIG_OCTAVE_PREREQ(major, minor, patch) \
+  ( (OCTAVE_MAJOR_VERSION<<16) + (OCTAVE_MINOR_VERSION<<8) + 
OCTAVE_PATCH_VERSION >= ((major)<<16) + ((minor)<<8) + (patch) )
+
+// Reconstruct Octave major, minor, and patch versions for releases prior to 
3.8.1
+#if !defined(OCTAVE_MAJOR_VERSION)
+
+# if !defined(OCTAVE_API_VERSION_NUMBER)
+
+// Hack to distinguish between Octave 3.8.0, which removed 
OCTAVE_API_VERSION_NUMBER but did not yet
+// introduce OCTAVE_MAJOR_VERSION, and Octave <= 3.2, which did not define 
OCTAVE_API_VERSION_NUMBER
+#  include 
+#  if defined(octave_ov_h)
+#   define OCTAVE_MAJOR_VERSION 3
+#   define OCTAVE_MINOR_VERSION 8
+#   define OCTAVE_PATCH_VERSION 0
+#  else
+
+// Hack to distinguish between Octave 3.2 and earlier versions, before 
OCTAVE_API_VERSION_NUMBER existed
+#   define ComplexLU __ignore
+#   include 
+#   undef ComplexLU
+#   if defined(octave_Complex_LU_h)
+
+// We know only that this version is prior to Octave 3.2, i.e. 
OCTAVE_API_VERSION_NUMBER < 37
+#define OCTAVE_MAJOR_VERSION 3
+#define OCTAVE_MINOR_VERSION 1
+#define OCTAVE_PATCH_VERSION 99
+
+#   else
+
+// OCTAVE_API_VERSION_NUMBER == 37
+#define OCTAVE_MAJOR_VERSION 3
+#define OCTAVE_MINOR_VERSION 2
+#define OCTAVE_PATCH_VERSION 0
+
+#   endif // defined(octave_Complex_LU_h)
+
+#  endif // defined(octave_ov_h)
 
-#if OCTAVE_API_VERSION_NUMBER < 37
+// Correlation between Octave API and version numbers extracted from Octave's
+// ChangeLogs; version is the *earliest* released Octave with that API number
+# elif OCTAVE_API_VERSION_NUMBER >= 48
+#  define OCTAVE_MAJOR_VERSION 3
+#  define OCTAVE_MINOR_VERSION 6
+#  define OCTAVE_

commit swig for openSUSE:Factory

2013-10-02 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2013-10-02 20:29:01

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2013-09-26 
20:02:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2013-10-02 
20:29:03.0 +0200
@@ -1,0 +2,8 @@
+Mon Sep 30 20:18:08 UTC 2013 - badshah...@gmail.com
+
+- Add swig-lua-fix-void-return-for-int-functions.patch to fix
+  void returns in non-void functions for its lua binding; patch
+  submitted upstream (bnc#84331,
+  https://github.com/swig/swig/issues/93).
+
+---

New:

  swig-lua-fix-void-return-for-int-functions.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.SMOKeU/_old  2013-10-02 20:29:04.0 +0200
+++ /var/tmp/diff_new_pack.SMOKeU/_new  2013-10-02 20:29:04.0 +0200
@@ -33,6 +33,8 @@
 Patch11:0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
 # Ruby 1.8.6 (SLE 10) differs in object tracking, kkae...@suse.de
 Patch12:ruby-1.8.6-newobject.patch
+# PATCH-FIX-UPSTREAM swig-lua-fix-void-return-for-int-functions.patch 
bnc#843310 badshah...@gmail.com -- Fix functions returning void when int is 
expected for lua bindings
+Patch13:swig-lua-fix-void-return-for-int-functions.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -138,6 +140,7 @@
 %endif
 %endif
 %patch9
+%patch13 -p1
 
 %build
 %configure --disable-ccache

++ swig-lua-fix-void-return-for-int-functions.patch ++
>From ea4a4e435f721380555fea039bd5dc758eda43ae Mon Sep 17 00:00:00 2001
From: Atri 
Date: Tue, 1 Oct 2013 01:28:26 +0530
Subject: [PATCH] Lua: Fix void return for non-void functions

Commit #c3f3880d caused the functions
SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State* L,
swig_lua_namespace* ns)
and
SWIGINTERN int SWIG_Lua_namespace_register(lua_State* L,
swig_lua_namespace* ns)
to return void when int returns were expected resulting in the build
failures for plplot's lua bindings for example. This commit fixes the
issue.
---
 Lib/lua/luarun.swg | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Lib/lua/luarun.swg b/Lib/lua/luarun.swg
index 4d851bd..8485ed4 100644
--- a/Lib/lua/luarun.swg
+++ b/Lib/lua/luarun.swg
@@ -524,7 +524,7 @@ SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State* L, 
swig_lua_namespace*
 
   /* clear stack - remove metatble */
   lua_pop(L,1);
-
+  return 0;
 }
 
 /* helper function. creates namespace table and add it to module table */
@@ -555,6 +555,7 @@ SWIGINTERN int SWIG_Lua_namespace_register(lua_State* L, 
swig_lua_namespace* ns)
 
   lua_setmetatable(L,-2); /* set metatable */
   lua_rawset(L,-3); /* add namespace to module table */
+  return 0;
 }
 /* 
-
  * global variable support code: classes
-- 
1.8.4

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2013-09-26 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2013-09-26 20:02:40

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2013-06-05 
14:32:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2013-09-26 
20:02:41.0 +0200
@@ -1,0 +2,7 @@
+Thu Sep 26 07:04:29 UTC 2013 - kkae...@suse.com
+
+- Update to SWIG 2.0.11
+  - Minor bug fixes and enhancements mostly in Python, but also
+C#, Lua, Ocaml, Octave, Perl, PHP, Python, R, Ruby, Tcl.
+
+---

Old:

  swig-2.0.10.tar.gz

New:

  swig-2.0.11.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.Bs3GY1/_old  2013-09-26 20:02:42.0 +0200
+++ /var/tmp/diff_new_pack.Bs3GY1/_new  2013-09-26 20:02:42.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.10
+Version:2.0.11
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause

++ swig-2.0.10.tar.gz -> swig-2.0.11.tar.gz ++
 23741 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2013-06-05 14:32:20

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2013-04-02 
13:22:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2013-06-05 
14:32:21.0 +0200
@@ -1,0 +2,41 @@
+Wed May 29 08:10:19 UTC 2013 - kkae...@suse.com
+
+- Ruby 1.8.6 (SLE10) tracks objects differently
+  Add ruby-1.8.6-newobject.patch
+
+- Remove skip-python-li_std_containers_int.patch, fixed upstream
+- Remove python-2.4.patch, fixed upstream
+
+- Fix Fedora/RHEL builds (BuildRequires:  perl-Test-Simple)
+
+---
+Tue May 28 14:37:51 UTC 2013 - kkae...@suse.com
+
+- Change Ruby 1.9+ object tracking to use C hashes, fixes all
+  failed Ruby tests.
+  Patch added:   0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
+  Patch removed: 0008-Ruby-Disable-broken-tests.patch
+
+---
+Tue May 28 13:04:21 UTC 2013 - kkae...@suse.com
+
+- Ruby 2.0 strictly enforces encoding
+  Add ruby-2.0-encoding-utf8.patch
+
+---
+Tue May 28 06:43:48 UTC 2013 - kkae...@suse.com
+
+- Update to SWIG 2.0.10
+  - Ruby 1.9 support is now complete.
+  - Add support for Guile 2.0 and Guile 1.6 support (GH interface) has
+been dropped.
+  - Various small language neutral improvements and fixes.
+  - Various bug fixes and minor improvements specific to C#, CFFI, D,
+Java, Octave, PHP, Python,
+  - Minor bug fix in ccache-swig.
+  - Development has moved to Github with Travis continuous integration
+testing - patches using https://github.com/swig/swig are welcome. 
+
+- drop 0012-Python-Disable-broken-test-in-threads_exception.patch
+
+---

Old:

  0008-Ruby-Disable-broken-tests.patch
  0012-Python-Disable-broken-test-in-threads_exception.patch
  python-2.4.patch
  skip-python-li_std_containers_int.patch
  swig-2.0.9.tar.gz

New:

  0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
  ruby-1.8.6-newobject.patch
  ruby-2.0-encoding-utf8.patch
  swig-2.0.10.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.HBYdnw/_old  2013-06-05 14:32:22.0 +0200
+++ /var/tmp/diff_new_pack.HBYdnw/_new  2013-06-05 14:32:22.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.9
+Version:2.0.10
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,16 +25,14 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-# Disable test failing on Python 2.4
-Patch5: python-2.4.patch
-# Disable tests failing on Ruby 1.9
-Patch6: 0008-Ruby-Disable-broken-tests.patch
-# Disable test failing in Python
-Patch7: 0012-Python-Disable-broken-test-in-threads_exception.patch
-# Test fails in openSUSE 12.1 only
-Patch8: skip-python-li_std_containers_int.patch
 # Fix the return type in declaration of caml_array_length
 Patch9: swig-fix_ocaml_type.patch
+# Ruby 2.0 encodes to UTF-8, SWIG to US-ASCII-8BIT, kkae...@suse.de
+Patch10:ruby-2.0-encoding-utf8.patch
+# Fix SWIG object tracking to use C hash, not Ruby Hash, kkae...@suse.de
+Patch11:0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
+# Ruby 1.8.6 (SLE 10) differs in object tracking, kkae...@suse.de
+Patch12:ruby-1.8.6-newobject.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -55,6 +53,7 @@
 BuildRequires:  ruby-devel
 %endif
 %if 0%{?fedora} > 0 || 0%{?rhel_version} >= 600  ||0%{?centos_version} >= 600
+BuildRequires:  perl-Test-Simple
 BuildRequires:  perl-devel
 %endif
 %endif
@@ -127,15 +126,17 @@
 
 %prep
 %setup -q
-# Ruby 1.9 from 12.1
 %if 0%{?suse_version} == 1010
-%patch5 -p1
+%patch12 -p1
+%endif
+# Ruby 1.9 for openSUSE 12.x
+%if 0%{?suse_version} >= 1220
+%patch11 -p1
+# Ruby 2.0 for openSUSE 13.1
+%if 0%{?suse_version} > 1230
+%patch10 -p1
 %endif
-%if 0%{?suse_version} >= 1210
-%patch6 -p1
-%patch8 -p1
 %endif
-%patch7 -p1
 %patch9
 
 %build

++ 0001-Fix-Ruby-tracking-code-to-use-C-hash.patch ++
>From 84d26240922e5f5b4c0365b0348e856c3c6aaf84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= 
Date: Thu, 3 Jan 2013 11:56:25 +0100
Subject: [PATCH] Fix Ruby tracking

commit swig for openSUSE:Factory

2013-04-02 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2013-04-02 13:22:53

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-12-28 
22:50:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2013-04-02 
13:22:54.0 +0200
@@ -1,0 +2,6 @@
+Thu Mar 28 11:56:54 CET 2013 - p...@suse.de
+
+- Add swig-fix_ocaml_type.patch to change the declaration of 
+  caml_array_length to match that in ocaml's header.
+
+---

New:

  swig-fix_ocaml_type.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.0Dz8ka/_old  2013-04-02 13:22:56.0 +0200
+++ /var/tmp/diff_new_pack.0Dz8ka/_new  2013-04-02 13:22:56.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package swig
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -33,6 +33,8 @@
 Patch7: 0012-Python-Disable-broken-test-in-threads_exception.patch
 # Test fails in openSUSE 12.1 only
 Patch8: skip-python-li_std_containers_int.patch
+# Fix the return type in declaration of caml_array_length
+Patch9: swig-fix_ocaml_type.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -134,6 +136,7 @@
 %patch8 -p1
 %endif
 %patch7 -p1
+%patch9
 
 %build
 %configure --disable-ccache

++ swig-fix_ocaml_type.patch ++
From: Philipp Thomas 
Date: 2013-03-27 15:47:28+01:00
Subject: Fix return type of caml_array_length


caml_array_type changed to mlsize_t, so fix the declaration.

---
 Lib/ocaml/ocamldec.swg |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: Lib/ocaml/ocamldec.swg
===
--- Lib/ocaml/ocamldec.swg.orig 2012-09-07 08:06:00.0 +0200
+++ Lib/ocaml/ocamldec.swg  2013-03-27 15:46:36.135652282 +0100
@@ -130,7 +130,7 @@ CAMLextern int64 Int64_val(caml_value_t
 SWIGSTATIC CAML_VALUE caml_array_new( int n );
 SWIGSTATIC void caml_array_set( CAML_VALUE arr, int n, CAML_VALUE item );
 SWIGSTATIC CAML_VALUE caml_array_nth( CAML_VALUE arr, int n );
-SWIGSTATIC int caml_array_length( CAML_VALUE arr );
+SWIGSTATIC mlsize_t caml_array_length( CAML_VALUE arr );
 
 SWIGSTATIC CAML_VALUE caml_val_char( char c );
 SWIGSTATIC CAML_VALUE caml_val_uchar( unsigned char c );
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2012-12-28 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-12-28 22:50:00

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-12-21 
10:36:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-12-28 
22:50:01.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec 20 09:40:06 UTC 2012 - kkae...@suse.com
+
+- Fix RHEL4 and 6 build
+
+---



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.zjcyQ6/_old  2012-12-28 22:50:02.0 +0100
+++ /var/tmp/diff_new_pack.zjcyQ6/_new  2012-12-28 22:50:02.0 +0100
@@ -48,11 +48,11 @@
 %define docpath %{_docdir}/%{name}-%{version}
 BuildRequires:  pkgconfig
 BuildRequires:  ruby
-%if (0%{?rhel_version} < 600) && (0%{?centos_version} < 600)
+%if 0%{?rhel_version} < 600 && 0%{?centos_version} < 600
 # not available on RHEL-6
 BuildRequires:  ruby-devel
 %endif
-%if 0%{?rhel_version} + 0%{?centos_version} == 0
+%if 0%{?fedora} > 0 || 0%{?rhel_version} >= 600  ||0%{?centos_version} >= 600
 BuildRequires:  perl-devel
 %endif
 %endif

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2012-12-21 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-12-21 10:36:03

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-11-12 
11:44:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-12-21 
10:36:05.0 +0100
@@ -1,0 +2,29 @@
+Mon Dec 17 12:52:34 UTC 2012 - kkae...@suse.com
+
+- Update to SWIG 2.0.9
+  SWIG-2.0.9 summary:
+  - Improved typemap matching.
+  - Ruby 1.9 support is much improved.
+  - Various bug fixes and minor improvements in C#, CFFI, Go, Java,
+Modula3, Octave, Perl, Python, R, Ruby, Tcl and in ccache-swig.
+
+- Removed patches (included in 2.0.9 release)
+  - 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
+  - 0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
+  - 0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
+  - 0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
+  - 0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
+
+- Removed broken patch
+  - swig-2.0.4-guile2.patch
+
+- Disable tests failing on (deprecated) Python 2.4
+  - new patch: python-2.4.patch
+
+---
+Mon Nov  5 09:57:55 UTC 2012 - kkae...@suse.com
+
+- fix build on SLE10: disable autogen.sh
+  Add patch: PyInt_FromSize_t unavailable under Python 2.4
+
+---

Old:

  0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
  0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
  0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
  0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
  0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
  swig-2.0.4-guile2.patch
  swig-2.0.8.tar.gz

New:

  python-2.4.patch
  skip-python-li_std_containers_int.patch
  swig-2.0.9.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.pVWDBS/_old  2012-12-21 10:36:07.0 +0100
+++ /var/tmp/diff_new_pack.pVWDBS/_new  2012-12-21 10:36:07.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.8
+Version:2.0.9
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,20 +25,14 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-# PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
-Patch:  swig-2.0.4-guile2.patch
-# PATCH-PENDING-UPSTREAM - 3530439 - kkae...@suse.de
-Patch1: 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
-# PATCH-PENDING-UPSTREAM - 3530440 - kkae...@suse.de
-Patch2: 0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
-# PATCH-PENDING-UPSTREAM - 3530442 - kkae...@suse.de
-Patch3: 0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
-# PATCH-PENDING-UPSTREAM - 3530443 - kkae...@suse.de
-Patch4: 0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
-# PATCH-PENDING-UPSTREAM - 3530444 - kkae...@suse.de
-Patch5: 0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
+# Disable test failing on Python 2.4
+Patch5: python-2.4.patch
+# Disable tests failing on Ruby 1.9
 Patch6: 0008-Ruby-Disable-broken-tests.patch
+# Disable test failing in Python
 Patch7: 0012-Python-Disable-broken-test-in-threads_exception.patch
+# Test fails in openSUSE 12.1 only
+Patch8: skip-python-li_std_containers_int.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -53,7 +47,11 @@
 %if 0%{?fedora} + 0%{?rhel_version} + 0%{?centos_version} > 0
 %define docpath %{_docdir}/%{name}-%{version}
 BuildRequires:  pkgconfig
+BuildRequires:  ruby
+%if (0%{?rhel_version} < 600) && (0%{?centos_version} < 600)
+# not available on RHEL-6
 BuildRequires:  ruby-devel
+%endif
 %if 0%{?rhel_version} + 0%{?centos_version} == 0
 BuildRequires:  perl-devel
 %endif
@@ -127,39 +125,22 @@
 
 %prep
 %setup -q
-# guile 2 from 12.1
-%patch -p1
 # Ruby 1.9 from 12.1
-%if 0%{?suse_version} >= 1210
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%if 0%{?suse_version} == 1010
 %patch5 -p1
+%endif
+%if 0%{?suse_version} >= 1210
 %patch6 -p1
-%patch7 -p1
+%patch8 -p1
 %endif
+%patch7 -p1
 
 %build
-sh autogen.sh
 %configure --disable-ccache
 make %{?_smp_mflags}
 
 %check
-# check fails on SLES9
-%if 0%{?sles_version} != 9
-# This test is bu

commit swig for openSUSE:Factory

2012-11-12 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-11-12 11:44:15

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-05-29 
11:39:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-11-12 
11:44:16.0 +0100
@@ -1,0 +2,8 @@
+Sun Nov  4 21:21:01 UTC 2012 - kkae...@suse.com
+
+- Update to 2.0.8
+  * Fix a couple of regressions introduced in 2.0.5 and 2.0.7.
+  * Improved using declarations and using directives support.
+  * Minor fixes/enhancements for C#, Java, Octave, Perl and Python.
+
+---

Old:

  0013-Fix-call-to-Swig_name_decl-upstream-ID-3530078.patch
  swig-2.0.7.tar.gz

New:

  swig-2.0.8.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.mIpt7Q/_old  2012-11-12 11:44:17.0 +0100
+++ /var/tmp/diff_new_pack.mIpt7Q/_new  2012-11-12 11:44:17.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.7
+Version:2.0.8
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -27,16 +27,18 @@
 Source1:%{name}.rpmlintrc
 # PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
 Patch:  swig-2.0.4-guile2.patch
-# PATCH-PENDING-UPSTREAM - Ruby 1.9 - kkae...@suse.de
+# PATCH-PENDING-UPSTREAM - 3530439 - kkae...@suse.de
 Patch1: 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
+# PATCH-PENDING-UPSTREAM - 3530440 - kkae...@suse.de
 Patch2: 0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
+# PATCH-PENDING-UPSTREAM - 3530442 - kkae...@suse.de
 Patch3: 0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
+# PATCH-PENDING-UPSTREAM - 3530443 - kkae...@suse.de
 Patch4: 0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
+# PATCH-PENDING-UPSTREAM - 3530444 - kkae...@suse.de
 Patch5: 0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
 Patch6: 0008-Ruby-Disable-broken-tests.patch
 Patch7: 0012-Python-Disable-broken-test-in-threads_exception.patch
-# Upstream ID 3530078
-Patch8: 0013-Fix-call-to-Swig_name_decl-upstream-ID-3530078.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  boost-devel
@@ -137,7 +139,6 @@
 %patch6 -p1
 %patch7 -p1
 %endif
-%patch8 -p1
 
 %build
 sh autogen.sh

++ 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch ++
--- /var/tmp/diff_new_pack.mIpt7Q/_old  2012-11-12 11:44:17.0 +0100
+++ /var/tmp/diff_new_pack.mIpt7Q/_new  2012-11-12 11:44:17.0 +0100
@@ -1,25 +1,7 @@
-From 9ef1a68a4428fbbba900a1c8ab162fe6fd6ce299 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= 
-Date: Sat, 26 May 2012 18:21:22 +0200
-Subject: [PATCH 01/10] Ruby: replace obsolete STR2CSTR macro with
- StringValuePtr
-

- Doc/Manual/Ruby.html|8 
- Doc/Manual/SWIGDocumentation.html   |8 
- Examples/ruby/hashargs/example.i|2 +-
- Examples/ruby/multimap/example.i|6 +++---
- Examples/test-suite/memberin1.i |2 +-
- Examples/test-suite/namespace_typemap.i |2 +-
- Lib/ruby/argcargv.i |2 +-
- Lib/ruby/rubystrings.swg|6 +++---
- 8 files changed, 18 insertions(+), 18 deletions(-)
-
-diff --git a/Doc/Manual/Ruby.html b/Doc/Manual/Ruby.html
-index 69005c7..775caaa 100644
 a/Doc/Manual/Ruby.html
-+++ b/Doc/Manual/Ruby.html
-@@ -4925,7 +4925,7 @@ arguments. For example: 
+diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x 
autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in 
../orig-swig-2.0.8/Doc/Manual/Ruby.html ./Doc/Manual/Ruby.html
+--- ../orig-swig-2.0.8/Doc/Manual/Ruby.html2012-08-20 23:29:52.0 
+0200
 ./Doc/Manual/Ruby.html 2012-11-04 22:52:17.837133265 +0100
+@@ -4926,7 +4926,7 @@
  
  
  
@@ -28,7 +10,7 @@
  
  
  
-@@ -7134,7 +7134,7 @@ Ruby_Format_TypeError( "$1_name", "$1_type","$symname", 
$argnum, $input
+@@ -7135,7 +7135,7 @@
  
  
  
@@ -37,7 +19,7 @@
SWIG_AsCharPtrAndSize(VALUE, char*, 
size_t, int* alloc)
  
  
-@@ -7517,7 +7517,7 @@ Array instance to be used as a char ** object. 

+@@ -7518,7 +7518,7 @@
  
  
  
@@ -46,7 +28,7 @@
  
  
  
-@@ -7795,7 +7795,7 @@ equivalents and store them in our local C arrays: 
+@@ -7796,7 +7796,7 @@
  
  
  
@@ -55,11 +37,10 @@
  
  
  
-diff --git a/Doc/Manual/SWIGDoc

commit swig for openSUSE:Factory

2012-05-29 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-05-29 11:39:30

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-05-07 
22:52:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-05-29 
11:39:32.0 +0200
@@ -1,0 +2,19 @@
+Sun May 27 13:31:49 UTC 2012 - kkae...@suse.com
+
+- Fix segfault in constructor/destructor warning (upstream ID 3530078)
+
+---
+Sat May 26 11:55:46 UTC 2012 - kkae...@suse.com
+
+- Port SWIG to Ruby 1.9 (various patches)
+- Disable broken tests
+
+---
+Sat May 26 11:32:12 UTC 2012 - kkae...@suse.com
+
+- Update to 2.0.7
+  * Important regression fixes since 2.0.5 for typemaps in general and
+in Python.
+  * Fixes and enhancements for Go, Java, Octave and PHP.
+
+---

Old:

  swig-2.0.4-disable-broken-tests.patch
  swig-2.0.4-disable-broken-tests_rhel4.patch
  swig-2.0.6.tar.gz

New:

  0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
  0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
  0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
  0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
  0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
  0008-Ruby-Disable-broken-tests.patch
  0012-Python-Disable-broken-test-in-threads_exception.patch
  0013-Fix-call-to-Swig_name_decl-upstream-ID-3530078.patch
  swig-2.0.7.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.Tq1keS/_old  2012-05-29 11:39:35.0 +0200
+++ /var/tmp/diff_new_pack.Tq1keS/_new  2012-05-29 11:39:35.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   swig
-Version:2.0.6
+Version:2.0.7
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
@@ -25,14 +25,23 @@
 Url:http://www.swig.org/
 Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-# PATCH-FIX-UPSTREAM swig-2.0.4-disable-broken-tests.patch idoen...@suse.de -- 
Disable broken tests
-Patch1: swig-2.0.4-disable-broken-tests.patch
-# swig-2.0.4-disable-broken-tests_rhel4.patch kkae...@suse.com -- disable 
tests failing on RHEL4
-Patch2: swig-2.0.4-disable-broken-tests_rhel4.patch
 # PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
-Patch3: swig-2.0.4-guile2.patch
+Patch:  swig-2.0.4-guile2.patch
+# PATCH-PENDING-UPSTREAM - Ruby 1.9 - kkae...@suse.de
+Patch1: 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch
+Patch2: 0002-Ruby-use-RbConfig-instead-of-deprecated-Config-modul.patch
+Patch3: 0003-Ruby-Fix-include-pathes-for-Ruby-1.9.patch
+Patch4: 0004-Ruby-Add-local-dir-to-loadpath-for-Ruby-1.9.patch
+Patch5: 0007-Ruby-1.9-methods-returns-array-of-Symbols-now.patch
+Patch6: 0008-Ruby-Disable-broken-tests.patch
+Patch7: 0012-Python-Disable-broken-test-in-threads_exception.patch
+# Upstream ID 3530078
+Patch8: 0013-Fix-call-to-Swig_name_decl-upstream-ID-3530078.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
 BuildRequires:  pcre-devel
 BuildRequires:  perl
 BuildRequires:  python-devel
@@ -116,16 +125,22 @@
 
 %prep
 %setup -q
-%patch1
-%if 0%{?rhel_version} >= 400 && 0%{?rhel_version} < 500
-%patch2 -p1
-%endif
 # guile 2 from 12.1
+%patch -p1
+# Ruby 1.9 from 12.1
 %if 0%{?suse_version} >= 1210
+%patch1 -p1
+%patch2 -p1
 %patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 %endif
+%patch8 -p1
 
 %build
+sh autogen.sh
 %configure --disable-ccache
 make %{?_smp_mflags}
 
@@ -141,6 +156,7 @@
 %endif
 # Segfaults
 rm -f Examples/test-suite/python/li_std_containers_int_runme.py
+rm -f Examples/test-suite/python/li_boost_shared_ptr_runme.py
 make check
 %endif
 

++ 0001-Ruby-replace-obsolete-STR2CSTR-macro-with-StringValu.patch ++
>From 9ef1a68a4428fbbba900a1c8ab162fe6fd6ce299 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= 
Date: Sat, 26 May 2012 18:21:22 +0200
Subject: [PATCH 01/10] Ruby: replace obsolete STR2CSTR macro with
 StringValuePtr

---
 Doc/Manual/Ruby.html|8 
 Doc/Manual/SWIGDocumentation.html   |  

commit swig for openSUSE:Factory

2012-05-07 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-05-07 22:52:51

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-04-12 
09:52:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-05-07 
22:52:54.0 +0200
@@ -1,0 +2,14 @@
+Mon Apr 30 08:30:32 UTC 2012 - idon...@suse.com
+
+- Update to 2.0.6
+  * Various fixes with templates and typedef types.
+  * Some template lookup problems fixed.
+  * Templated type fixes to use correct typemaps.
+  * Autodoc documentation generation improvements.
+  * Python STL container wrappers improvements including addition of
+stepped slicing.
+  * Approximately 70 fixes and minor enhancements for the following
+target languages: AllegroCL, C#, D, Go, Java, Lua, Ocaml, Octave,
+Perl, PHP, Python, R, Ruby, Tcl, Xml.
+
+---

Old:

  r12814.patch
  swig-2.0.4-fix-overflow-error-64bitint.patch
  swig-2.0.4-ptrdiff_t.patch
  swig-2.0.4-support-python32.patch
  swig-2.0.4.tar.bz2

New:

  swig-2.0.6.tar.gz



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.ZI3AB6/_old  2012-05-07 22:53:05.0 +0200
+++ /var/tmp/diff_new_pack.ZI3AB6/_new  2012-05-07 22:53:05.0 +0200
@@ -17,28 +17,20 @@
 
 
 Name:   swig
-Version:2.0.4
+Version:2.0.6
 Release:0
 Summary:Simplified Wrapper and Interface Generator
 License:GPL-3.0+ and BSD-3-Clause
 Group:  Development/Languages/C and C++
 Url:http://www.swig.org/
-Source: %{name}-%{version}.tar.bz2
+Source: 
http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz
 Source1:%{name}.rpmlintrc
-# PATCH-FIX-UPSTREAM swig-2.0.4-support-python32.patch idoen...@suse.de -- 
Support Python 3.2
-Patch1: swig-2.0.4-support-python32.patch
-# swig-2.0.4-ptrdiff_t.patch kkae...@suse.com -- import_stl fails under Python
-Patch2: swig-2.0.4-ptrdiff_t.patch
 # PATCH-FIX-UPSTREAM swig-2.0.4-disable-broken-tests.patch idoen...@suse.de -- 
Disable broken tests
-Patch3: swig-2.0.4-disable-broken-tests.patch
+Patch1: swig-2.0.4-disable-broken-tests.patch
 # swig-2.0.4-disable-broken-tests_rhel4.patch kkae...@suse.com -- disable 
tests failing on RHEL4
-Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch
+Patch2: swig-2.0.4-disable-broken-tests_rhel4.patch
 # PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
-Patch5: swig-2.0.4-guile2.patch
-# PATCH-FIX-OPENSUSE swig-2.0.4-fix-overflow-error-64bitint.patch 
dval...@suse.com -- Fix overflow errors with 64-bit IVs
-Patch6: swig-2.0.4-fix-overflow-error-64bitint.patch
-# PATCH-FIX-UPSTREAM r12814.patch asterios.dra...@gmail.com -- Fix regression 
leading to uncompilable code when using typedef and function pointer references 
(taken from Debian)
-Patch7: r12814.patch
+Patch3: swig-2.0.4-guile2.patch
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
 BuildRequires:  pcre-devel
@@ -124,18 +116,14 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3
+%patch1
 %if 0%{?rhel_version} >= 400 && 0%{?rhel_version} < 500
-%patch4 -p1
+%patch2 -p1
 %endif
 # guile 2 from 12.1
 %if 0%{?suse_version} >= 1210
-%patch5 -p1
+%patch3 -p1
 %endif
-%patch6 -p1
-%patch7 -p1
 
 %build
 %configure --disable-ccache
@@ -145,13 +133,14 @@
 # check fails on SLES9
 %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
+# Segfaults
+rm -f Examples/test-suite/python/li_std_containers_int_runme.py
 make check
 %endif
 
@@ -163,6 +152,7 @@
%{buildroot}%{docpath}
 install -d %{buildroot}%{_libdir}/swig
 cp -a Examples %{buildroot}%{_libdir}/swig/examples
+rm -rf %{buildroot}%{_libdir}/swig/examples/test-suite
 
 # rm files that are not needed for running or rebuilding the examples
 find %{buildroot}%{_libdir}/swig \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2012-04-12 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-04-12 09:52:48

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-03-07 
13:45:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-04-12 
09:52:50.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr  9 19:29:34 UTC 2012 - asterios.dra...@gmail.com
+
+- Added a patch (r12814.patch) to fix regression leading to uncompilable code
+  when using typedef and function pointer references (taken from Debian).
+
+---

New:

  r12814.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.XezvVT/_old  2012-04-12 09:52:52.0 +0200
+++ /var/tmp/diff_new_pack.XezvVT/_new  2012-04-12 09:52:52.0 +0200
@@ -16,8 +16,29 @@
 #
 
 
-
 Name:   swig
+Version:2.0.4
+Release:0
+Summary:Simplified Wrapper and Interface Generator
+License:GPL-3.0+ and BSD-3-Clause
+Group:  Development/Languages/C and C++
+Url:http://www.swig.org/
+Source: %{name}-%{version}.tar.bz2
+Source1:%{name}.rpmlintrc
+# PATCH-FIX-UPSTREAM swig-2.0.4-support-python32.patch idoen...@suse.de -- 
Support Python 3.2
+Patch1: swig-2.0.4-support-python32.patch
+# swig-2.0.4-ptrdiff_t.patch kkae...@suse.com -- import_stl fails under Python
+Patch2: swig-2.0.4-ptrdiff_t.patch
+# PATCH-FIX-UPSTREAM swig-2.0.4-disable-broken-tests.patch idoen...@suse.de -- 
Disable broken tests
+Patch3: swig-2.0.4-disable-broken-tests.patch
+# swig-2.0.4-disable-broken-tests_rhel4.patch kkae...@suse.com -- disable 
tests failing on RHEL4
+Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch
+# PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
+Patch5: swig-2.0.4-guile2.patch
+# PATCH-FIX-OPENSUSE swig-2.0.4-fix-overflow-error-64bitint.patch 
dval...@suse.com -- Fix overflow errors with 64-bit IVs
+Patch6: swig-2.0.4-fix-overflow-error-64bitint.patch
+# PATCH-FIX-UPSTREAM r12814.patch asterios.dra...@gmail.com -- Fix regression 
leading to uncompilable code when using typedef and function pointer references 
(taken from Debian)
+Patch7: r12814.patch
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
 BuildRequires:  pcre-devel
@@ -49,25 +70,6 @@
 BuildRequires:  ruby-devel
 %endif
 %endif
-Version:2.0.4
-Release:0
-Summary:Simplified Wrapper and Interface Generator
-License:GPL-3.0+ and BSD-3-Clause
-Group:  Development/Languages/C and C++
-Url:http://www.swig.org
-Source: %{name}-%{version}.tar.bz2
-Source1:%{name}.rpmlintrc
-# PATCH-FIX-UPSTREAM swig-2.0.4-support-python32.patch idoen...@suse.de -- 
Support Python 3.2
-Patch1: swig-2.0.4-support-python32.patch
-# swig-2.0.4-ptrdiff_t.patch kkae...@suse.com -- import_stl fails under Python
-Patch2: swig-2.0.4-ptrdiff_t.patch
-# PATCH-FIX-UPSTREAM swig-2.0.4-disable-broken-tests.patch idoen...@suse.de -- 
Disable broken tests
-Patch3: swig-2.0.4-disable-broken-tests.patch
-# swig-2.0.4-disable-broken-tests_rhel4.patch kkae...@suse.com -- disable 
tests failing on RHEL4
-Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch
-# PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
-Patch5: swig-2.0.4-guile2.patch
-Patch6: swig-2.0.4-fix-overflow-error-64bitint.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -133,6 +135,7 @@
 %patch5 -p1
 %endif
 %patch6 -p1
+%patch7 -p1
 
 %build
 %configure --disable-ccache
@@ -161,7 +164,7 @@
 install -d %{buildroot}%{_libdir}/swig
 cp -a Examples %{buildroot}%{_libdir}/swig/examples
 
-# rm files that are not needed for runnig or rebuilding the examples
+# rm files that are not needed for running or rebuilding the examples
 find %{buildroot}%{_libdir}/swig \
-name '*.dsp' -o -name '*.vcproj' -o -name '*.sln' -o \
-name '*.o' -o -name '*_wrap.c' | xargs rm
@@ -173,12 +176,9 @@
 ln -s %{_libdir}/swig/examples %{buildroot}%{docpath}/Examples
 
 %if 0%{?suse_version} > 1010
-%fdupes $RPM_BUILD_ROOT
+%fdupes %{buildroot}
 %endif
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(644,root,root,755)
 %dir %{docpath}

++ r12814.patch ++
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -2,6 +2,14 @@ This file contains the changes for the c
 See the CHANGES file for changes in older releases.
 Se

commit swig for openSUSE:Factory

2012-03-07 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-03-07 13:45:49

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2012-03-06 
14:07:13.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-03-07 
13:45:51.0 +0100
@@ -1,0 +2,9 @@
+Tue Mar  6 19:24:07 UTC 2012 - dval...@suse.com
+
+- The perl 5.12 packages are compiled with -Duse64bitint, which 
+  means that IVs are 64-bits even on 32-bit architectures. When 
+  converting IVs, SWIG assumes that an IV is the same size as a 
+  long, which causes OverflowErrors with  unsigned longs when 
+  the value is greater than 2^31. 
+
+---

New:

  swig-2.0.4-fix-overflow-error-64bitint.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.ZeQ3ee/_old  2012-03-07 13:45:53.0 +0100
+++ /var/tmp/diff_new_pack.ZeQ3ee/_new  2012-03-07 13:45:53.0 +0100
@@ -67,6 +67,7 @@
 Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch
 # PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
 Patch5: swig-2.0.4-guile2.patch
+Patch6: swig-2.0.4-fix-overflow-error-64bitint.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -131,6 +132,7 @@
 %if 0%{?suse_version} >= 1210 
 %patch5 -p1
 %endif
+%patch6 -p1
 
 %build
 %configure --disable-ccache

++ swig-2.0.4-fix-overflow-error-64bitint.patch ++
Description: Fix overflow errors with 64-bit IVs
 The perl 5.12 packages are compiled with -Duse64bitint, which means that IVs
 are 64-bits even on 32-bit architectures. When converting IVs, SWIG assumes
 that an IV is the same size as a long, which causes OverflowErrors with
 unsigned longs when the value is greater than 2^31.
 .
 This patch should remove those assumptions by using the "IV" type defined by
 the perl headers, and explicitly checking the values are within the correct
 range for the type being converted.
Author: Chris Butler 
Bug-Debian: http://bugs.debian.org/579540
Forwarded: no

--- a/Lib/perl5/perlprimtypes.swg
+++ b/Lib/perl5/perlprimtypes.swg
@@ -56,8 +56,13 @@
 SWIG_AsVal_dec(long)(SV *obj, long* val)
 {
   if (SvIOK(obj)) {
-if (val) *val = SvIV(obj);
-return SWIG_OK;
+IV v = SvIV(obj);
+if (v >= LONG_MIN && v <= LONG_MAX) {
+  if (val) *val = v;
+  return SWIG_OK;
+} else {
+  return SWIG_OverflowError;
+}
   } else {
 int dispatch = 0;
 const char *nptr = SvPV_nolen(obj);
@@ -108,11 +113,16 @@
 SWIG_AsVal_dec(unsigned long)(SV *obj, unsigned long *val) 
 {
   if (SvUOK(obj)) {
-if (val) *val = SvUV(obj);
-return SWIG_OK;
+UV v = SvUV(obj);
+if (v >= 0 && v <= ULONG_MAX) {
+  if (val) *val = v;
+  return SWIG_OK;
+} else {
+  return SWIG_OverflowError;
+}
   } else  if (SvIOK(obj)) {
-long v = SvIV(obj);
-if (v >= 0) {
+IV v = SvIV(obj);
+if (v >= 0 && v <= ULONG_MAX) {
   if (val) *val = v;
   return SWIG_OK;
 } else {
@@ -179,8 +189,13 @@
 SWIG_AsVal_dec(long long)(SV *obj, long long *val)
 {
   if (SvIOK(obj)) {
-if (val) *val = SvIV(obj);
-return SWIG_OK;
+IV v = SvIV(obj);
+if (v >= LLONG_MIN && v <= LLONG_MAX) {
+  if (val) *val = v;
+  return SWIG_OK;
+} else {
+  return SWIG_OverflowError;
+}
   } else {
 int dispatch = 0;
 const char *nptr = SvPV_nolen(obj);
@@ -246,8 +261,8 @@
 if (val) *val = SvUV(obj);
 return SWIG_OK;
   } else  if (SvIOK(obj)) {
-long v = SvIV(obj);
-if (v >= 0) {
+IV v = SvIV(obj);
+if (v >= 0 && v <= ULLONG_MAX) {
   if (val) *val = v;
   return SWIG_OK;
 } else {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2012-03-06 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2012-03-06 14:07:10

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2011-12-15 
16:08:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2012-03-06 
14:07:13.0 +0100
@@ -1,0 +2,10 @@
+Tue Mar  6 09:15:47 UTC 2012 - kkae...@suse.com
+
+- fix SLES 10 build, disable failing test (bnc#750618)
+
+---
+Mon Mar  5 13:19:56 UTC 2012 - kkae...@suse.com
+
+- fix build, add Group field to subpackages
+
+---



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.N8wsb3/_old  2012-03-06 14:07:19.0 +0100
+++ /var/tmp/diff_new_pack.N8wsb3/_new  2012-03-06 14:07:19.0 +0100
@@ -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 @@
 %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 @@
 %package examples
 Summary:SWIG example files
 License:BSD-3-Clause
+Group:  Documentation/Howto
 Requires:   swig
 
 %description examples
@@ -137,6 +141,12 @@
 %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
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2011-12-15 Thread h_root
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2011-12-15 16:07:59

Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and  /work/SRC/openSUSE:Factory/.swig.new (New)


Package is "swig", Maintainer is "mma...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/swig/swig.changes2011-09-23 
12:47:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.swig.new/swig.changes   2011-12-15 
16:08:01.0 +0100
@@ -1,0 +2,10 @@
+Fri Dec  9 08:55:59 UTC 2011 - co...@suse.com
+
+- fix license to be in spdx.org format
+
+---
+Mon Dec  5 13:37:26 UTC 2011 - pgaj...@suse.com
+
+- generate guile 2 friendly code
+
+---

New:

  swig-2.0.4-guile2.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.YRMx61/_old  2011-12-15 16:08:03.0 +0100
+++ /var/tmp/diff_new_pack.YRMx61/_new  2011-12-15 16:08:03.0 +0100
@@ -15,8 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   swig
 BuildRequires:  boost-devel
 BuildRequires:  gcc-c++
@@ -50,11 +48,11 @@
 %endif
 %endif
 Version:2.0.4
-Release:5
-License:GPLv3+ and BSD
+Release:0
 Summary:Simplified Wrapper and Interface Generator
-Url:http://www.swig.org
+License:GPL-3.0+ and BSD-3-Clause
 Group:  Development/Languages/C and C++
+Url:http://www.swig.org
 Source: %{name}-%{version}.tar.bz2
 Source1:%{name}.rpmlintrc
 # PATCH-FIX-UPSTREAM swig-2.0.4-support-python32.patch idoen...@suse.de -- 
Support Python 3.2
@@ -65,6 +63,8 @@
 Patch3: swig-2.0.4-disable-broken-tests.patch
 # swig-2.0.4-disable-broken-tests_rhel4.patch kkae...@suse.com -- disable 
tests failing on RHEL4
 Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch
+# PATCH-FIX-UPSTREAM swig-2.0.4-guile2.patch pgaj...@suse.com -- generate 
guile 2 friendly code
+Patch5: swig-2.0.4-guile2.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -78,9 +78,8 @@
 customization options, and more.
 
 %package doc
-License:BSD3c
 Summary:SWIG Manual
-Group:  Development/Languages/C and C++
+License:BSD-3-Clause
 Requires:   swig
 %if 0%{?suse_version} >= 1120
 BuildArch:  noarch
@@ -99,9 +98,8 @@
 This package contains the SWIG manual.
 
 %package examples
-License:BSD3c
 Summary:SWIG example files
-Group:  Development/Languages/C and C++
+License:BSD-3-Clause
 Requires:   swig
 
 %description examples
@@ -125,6 +123,10 @@
 %if 0%{?rhel_version} >= 400 && 0%{?rhel_version} < 500
 %patch4 -p1
 %endif
+# guile 2 from 12.1
+%if 0%{?suse_version} >= 1210 
+%patch5 -p1
+%endif
 
 %build
 %configure --disable-ccache

++ swig-2.0.4-guile2.patch ++
Index: swig-2.0.4/Lib/guile/guile_scm_run.swg
===
--- swig-2.0.4.orig/Lib/guile/guile_scm_run.swg
+++ swig-2.0.4/Lib/guile/guile_scm_run.swg
@@ -60,16 +60,17 @@ static swig_module_info *SWIG_Guile_GetM
 SWIGINTERN char *
 SWIG_Guile_scm2newstr(SCM str, size_t *len) {
 #define FUNC_NAME "SWIG_Guile_scm2newstr"
-  char *ret;
+  char *ret, *tmp;
   size_t l;
 
   SCM_ASSERT (SCM_STRINGP(str), str, 1, FUNC_NAME);
   
-  l = SCM_STRING_LENGTH(str);
+  tmp = scm_to_utf8_string(str);
+  memcpy(ret, tmp, l);
+  free(tmp);
   ret = (char *) SWIG_malloc( (l + 1) * sizeof(char));
   if (!ret) return NULL;
 
-  memcpy(ret, SCM_STRING_CHARS(str), l);
   ret[l] = '\0';
   if (len) *len = l;
   return ret;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit swig for openSUSE:Factory

2011-09-21 Thread h_root

Hello community,

here is the log from the commit of package swig for openSUSE:Factory
checked in at Wed Sep 21 17:23:14 CEST 2011.




--- swig/swig.changes   2011-05-19 21:51:43.0 +0200
+++ /mounts/work_src_done/STABLE/swig/swig.changes  2011-09-20 
12:51:08.0 +0200
@@ -1,0 +2,25 @@
+Tue Sep 20 09:31:28 UTC 2011 - kkae...@suse.com
+
+- Update to swig 2.0.4
+  (see CHANGES.current for complete list)
+  * [Perl] Patch #3260265 fixing overloading of non-primitive types and 
integers in 
+Perl 5.12 and later.
+  * [Ruby] Fix %import where one of the imported files %include one of the STL 
include
+files such as std_vector.i.
+  * [python] Additional fixes for python3.2 support.
+  * [python] Fixed PyGetSetDescr for python3.2.
+  * Bug 2635919: Convenience method to convert std::map to a python dict.
+  * Fixed bug 1163440: vararg typemaps.
+  * [Python] Applied patch #1932484: migrate PyCObject to PyCapsule.
+  * [Python] Merged in the szager-python-builtin branch, adding the -builtin 
feature
+for python.  The -builtin option may provide a significant performance gain
+in python wrappers.  For full details and limitations, refer to 
Doc/Manual/Python.html.
+A small test suite designed to demonstrate the performance gain is in
+Examples/python/performance.
+
+---
+Tue Sep 20 08:46:19 UTC 2011 - kkae...@suse.com
+
+- Fix RHEL/Fedora build
+
+---

calling whatdependson for head-i586


Old:

  swig-2.0.3-disable-broken-tests.patch
  swig-2.0.3-perl512.patch
  swig-2.0.3-perl514.patch
  swig-2.0.3-support-python32.patch
  swig-2.0.3-use-python-capsule-api.patch
  swig-2.0.3.tar.bz2

New:

  swig-2.0.4-disable-broken-tests.patch
  swig-2.0.4-disable-broken-tests_rhel4.patch
  swig-2.0.4-ptrdiff_t.patch
  swig-2.0.4-support-python32.patch
  swig-2.0.4.tar.bz2
  swig.rpmlintrc



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.nDiAEA/_old  2011-09-21 17:23:08.0 +0200
+++ /var/tmp/diff_new_pack.nDiAEA/_new  2011-09-21 17:23:08.0 +0200
@@ -26,15 +26,17 @@
 %if 0%{?rhel_version} > 0
 BuildRequires:  -vim
 %endif
-%if 0%{?fedora} + 0%{?rhel_version} > 0
+%if 0%{?fedora} + 0%{?rhel_version} + 0%{?centos_version} > 0
+%define docpath %{_docdir}/%{name}-%{version}
 BuildRequires:  pkgconfig
 BuildRequires:  ruby-devel
-%if 0%{?rhel_version} == 0
+%if 0%{?rhel_version} + 0%{?centos_version} == 0
 BuildRequires:  perl-devel
 %endif
 %endif
 %if 0%{?suse_version} > 0
-%if 0%{?suse_version} > 1020
+%define docpath %{_docdir}/%{name}
+%if 0%{?suse_version} > 1010
 BuildRequires:  fdupes
 %endif
 # SLE9
@@ -47,23 +49,22 @@
 BuildRequires:  ruby-devel
 %endif
 %endif
-Version:2.0.3
+Version:2.0.4
 Release:5
 License:GPLv3+ and BSD
 Summary:Simplified Wrapper and Interface Generator
 Url:http://www.swig.org
 Group:  Development/Languages/C and C++
-Source: swig-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM swig-2.0.3-perl512.patch idoen...@suse.de -- Upstream bug 
#3260265
-Patch1: swig-2.0.3-perl512.patch
-# PATCH-FIX-UPSTREAM swig-2.0.3-disable-broken-tests.patch idoen...@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 idoen...@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 idoen...@suse.de -- 
Support Python 3.2
-Patch4: swig-2.0.3-support-python32.patch
-# PATCH-FIX-UPSTREAM swig-2.0.3-perl514.patch idoen...@suse.de -- Fix Perl 
5.14 test failure
-Patch5: swig-2.0.3-perl514.patch
+Source: %{name}-%{version}.tar.bz2
+Source1:%{name}.rpmlintrc
+# PATCH-FIX-UPSTREAM swig-2.0.4-support-python32.patch idoen...@suse.de -- 
Support Python 3.2
+Patch1: swig-2.0.4-support-python32.patch
+# swig-2.0.4-ptrdiff_t.patch kkae...@suse.com -- import_stl fails under Python
+Patch2: swig-2.0.4-ptrdiff_t.patch
+# PATCH-FIX-UPSTREAM swig-2.0.4-disable-broken-tests.patch idoen...@suse.de -- 
Disable broken tests
+Patch3: swig-2.0.4-disable-broken-tests.patch
+# swig-2.0.4-disable-broken-tests_rhel4.patch kkae...@suse.com -- disable 
tests failing on RHEL4
+Patch4: swig-2.0.4-disable-broken-tests_rhel4.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -119,27 +120,30 @@
 %prep
 %setup -q
 %patch1 -p1
-%patch2
-%patch3 -p1
+%patch2 -p1
+%patch3
+%if 0%{?rhel_version} >= 400 && 0%{?rhel_version} < 500
 %patch4 -p1
-%patch5 -p1
+%endif
 
 %build
-./autogen.sh
 %configure --disable-ccache
 make %{?_smp_mflags}
 
 %check
+# check fails on SLES9
+%if 0%{?sles_version} != 9
 # This 

commit swig for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package swig for openSUSE:Factory
checked in at Mon May 23 11:56:49 CEST 2011.




--- swig/swig.changes   2011-05-02 18:01:34.0 +0200
+++ /mounts/work_src_done/STABLE/swig/swig.changes  2011-05-19 
21:51:43.0 +0200
@@ -1,0 +2,11 @@
+Thu May 19 19:50:42 UTC 2011 - idoen...@novell.com
+
+- Drop adapt-perl512.diff and replace it with swig-2.0.3-perl512.patch
+  which is applied upstream.
+
+---
+Thu May 19 08:47:42 UTC 2011 - idoen...@novell.com
+
+- Add swig-2.0.3-perl514.patch: fix test failures with Perl 5.14 
+
+---

calling whatdependson for head-i586


Old:

  adapt-perl512.diff

New:

  swig-2.0.3-perl512.patch
  swig-2.0.3-perl514.patch



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.X1tfN3/_old  2011-05-23 11:51:28.0 +0200
+++ /var/tmp/diff_new_pack.X1tfN3/_new  2011-05-23 11:51:28.0 +0200
@@ -48,19 +48,22 @@
 %endif
 %endif
 Version:2.0.3
-Release:1
+Release:5
 License:GPLv3+ and BSD
 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 idoen...@suse.de -- Upstream bug 
#3260265
+Patch1: swig-2.0.3-perl512.patch
 # PATCH-FIX-UPSTREAM swig-2.0.3-disable-broken-tests.patch idoen...@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 idoen...@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 idoen...@suse.de -- 
Support Python 3.2
 Patch4: swig-2.0.3-support-python32.patch
+# PATCH-FIX-UPSTREAM swig-2.0.3-perl514.patch idoen...@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 @@
 %patch2
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 ./autogen.sh

++ swig-2.0.3-perl512.patch ++
--- trunk/Lib/perl5/perlrun.swg 2011/05/19 18:48:57 12690
+++ trunk/Lib/perl5/perlrun.swg 2011/05/19 19:31:39 12691
@@ -274,8 +274,14 @@
 return SWIG_OK;
   } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
 if (!SvROK(sv)) {
-  *(ptr) = (void *) 0;
-  return SWIG_OK;
+  /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid 
integer value.  */
+  if (SvIOK(sv)) {
+return SWIG_ERROR;
+  } else {
+/* NULL pointer (reference to undef). */
+*(ptr) = (void *) 0;
+return SWIG_OK;
+  }
 } else {
   return SWIG_ERROR;
 }
++ swig-2.0.3-perl514.patch ++
--- swig-2.0.3/Examples/test-suite/perl5/li_std_string_runme.pl 2008-06-24 
22:11:46.0 +0200
+++ swig-2.0.3/Examples/test-suite/perl5/li_std_string_runme.pl 2011-05-19 
10:29:07.285003422 +0200
@@ -48,7 +48,7 @@
 
 # Check throw exception specification
 eval { li_std_string::test_throw() };
-is($@, "test_throw message", "Test 5");
+like($@, qr/^test_throw message/, "Test 5");
 { local $TODO = "why is the error not a Perl string?";
 eval { li_std_string::test_const_reference_throw() };
 is($@, "", "Test 6");
--- swig-2.0.3/Examples/test-suite/perl5/default_args_runme.pl  2008-04-30 
23:02:46.0 +0200
+++ swig-2.0.3/Examples/test-suite/perl5/default_args_runme.pl  2011-05-19 
10:42:21.205003460 +0200
@@ -41,11 +41,11 @@
  
 # exception specifications
 eval { default_args::exceptionspec() };
-is($@, "ciao", "exceptionspec 1");
+like($@, qr/^ciao/, "exceptionspec 1");
 eval { default_args::exceptionspec(-1) };
-is($@, "ciao", "exceptionspec 2");
+like($@, qr/^ciao/, "exceptionspec 2");
 eval { default_args::exceptionspec(100) };
-is($@, '100', "exceptionspec 3");
+like($@, qr/^100/, "exceptionspec 3");
 
 my $ex = new default_args::Except($false);
 
@@ -54,13 +54,13 @@
 # a zero was thrown, an exception occured, but $@ is false
 is($hit, 0, "exspec 1");
 eval { $ex->exspec(-1) };
-is($@, "ciao", "exspec 2");
+like($@, qr/^ciao/, "exspec 2");
 eval { $ex->exspec(100) };
-is($@, 100, "exspec 3");
+like($@, qr/^100/, "exspec 3");
 eval { $ex = default_args::Except->new($true) };
-is($@, -1, "Except constructor 1");
+like($@, qr/^-1/, "Except constructor 1");
 eval { $ex = default_args::Except->new($true, -2) };
-is($@, -2, "Except constructor 2");
+like($@, qr/^-2/, "Except constructor 2");
 
 #Default parameters in static class methods
 is(default_args::Statics::staticmethod(), 60, "staticmethod 1");

++

commit swig for openSUSE:Factory

2011-05-18 Thread h_root

Hello community,

here is the log from the commit of package swig for openSUSE:Factory
checked in at Wed May 18 10:30:32 CEST 2011.




--- swig/swig.changes   2010-04-06 15:39:55.0 +0200
+++ /mounts/work_src_done/STABLE/swig/swig.changes  2011-05-02 
18:01:34.0 +0200
@@ -1,0 +2,22 @@
+Mon May  2 15:36:04 UTC 2011 - idoen...@novell.com
+
+- Update to swig 2.0.3 
+  * Much better nested class/struct support.
+  * Much improved template partial specialization and explicit 
+specialization handling.
+  * Namespace support improved with the 'nspace' feature where 
+namespaces can be automatically translated into Java packages or C# 
namespaces.
+  * Improved typemap and symbol table debugging.
+  * Numerous subtle typemap matching rule changes when using the 
+default (SWIGTYPE) type. These now work much like C++ class template 
+partial specialization matching.
+  * Other small enhancements for typemaps. 
+Typemap fragments are also now official and documented.
+  * Warning and error display refinements.
+  * Wrapping of shared_ptr is improved and documented now.
+  * Numerous C++ unary scope operator (::) fixes.
+  * Better support for boolean expressions.
+  * Various bug fixes and improvements in the Allegrocl, C#, Java, 
+Lua, Octave, PHP, Python, R, Ruby and XML modules.
+
+---

calling whatdependson for head-i586


Old:

  swig-1.3.36-perl-long-long.patch
  swig-1.3.40.tar.bz2
  swig-fixassert.diff

New:

  swig-2.0.3-disable-broken-tests.patch
  swig-2.0.3-support-python32.patch
  swig-2.0.3-use-python-capsule-api.patch
  swig-2.0.3.tar.bz2



Other differences:
--
++ swig.spec ++
--- /var/tmp/diff_new_pack.bkGkWs/_old  2011-05-18 10:28:21.0 +0200
+++ /var/tmp/diff_new_pack.bkGkWs/_new  2011-05-18 10:28:21.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package swig (Version 1.3.40)
+# spec file for package swig
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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,17 +15,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   swig
-BuildRequires:  boost-devel gcc-c++ python-devel
-BuildRequires:  perl python-devel
+BuildRequires:  boost-devel
+BuildRequires:  gcc-c++
+BuildRequires:  pcre-devel
+BuildRequires:  perl
+BuildRequires:  python-devel
 %if 0%{?rhel_version} > 0
 BuildRequires:  -vim
 %endif
 %if 0%{?fedora} + 0%{?rhel_version} > 0
-BuildRequires:  pkgconfig ruby-devel
+BuildRequires:  pkgconfig
+BuildRequires:  ruby-devel
 %if 0%{?rhel_version} == 0
 BuildRequires:  perl-devel
 %endif
@@ -36,24 +39,28 @@
 %endif
 # SLE9
 %if 0%{?suse_version} < 920
-BuildRequires:  pkgconfig ruby
+BuildRequires:  pkgconfig
+BuildRequires:  ruby
 %else
+BuildRequires:  pkg-config
 # SLE10 and up
 BuildRequires:  ruby-devel
-BuildRequires:  pkg-config
 %endif
 %endif
+Version:2.0.3
+Release:1
+License:GPLv3+ and BSD
+Summary:Simplified Wrapper and Interface Generator
 Url:http://www.swig.org
-License:BSD3c
 Group:  Development/Languages/C and C++
-AutoReqProv:on
-Summary:Simplified Wrapper and Interface Generator
-Version:1.3.40
-Release:3
 Source: swig-%{version}.tar.bz2
-Patch1: swig-1.3.36-perl-long-long.patch
-Patch2: swig-fixassert.diff
-Patch3: adapt-perl512.diff
+Patch1: adapt-perl512.diff
+# PATCH-FIX-UPSTREAM swig-2.0.3-disable-broken-tests.patch idoen...@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 idoen...@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 idoen...@suse.de -- 
Support Python 3.2
+Patch4: swig-2.0.3-support-python32.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -66,13 +73,6 @@
 documentation generation, module and library management, extensive
 customization options, and more.
 
-
-
-Authors:
-
-Dave Beazley 
-William S Fulton 
-
 %package doc
 License:BSD3c
 Summary:SWIG Manual
@@ -94,12 +94,6 @@
 
 This package contains the SWIG manual.
 
-
-
-Authors:
-
-Dave Beazley 
-
 %package examples
 License:BSD3c
 Summary:SWIG example files
@@ -119,54 +113,45 @@
 This package contains SWIG examples, useful both for testing and
 understandig SWIG usage.
 
-
-
-Authors:
-
-Dave Beazley 
-
 %prep
 %setup -q
-%patch1
+%patch1 -p1