diff --git a/nested_classes.diff b/nested_classes.diff deleted file mode 100644 index a656d89..0000000 --- a/nested_classes.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- ./Source/CParse/parser.c.orig 2014-08-26 12:24:53.381788068 +0000 -+++ ./Source/CParse/parser.c 2014-08-26 12:36:45.700287073 +0000 -@@ -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); diff --git a/swig-3.0.2.tar.gz b/swig-3.0.2.tar.gz deleted file mode 100644 index 724b60f..0000000 --- a/swig-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2669657cabcedc371f63c0457407a183e0b6b2ef4e7e303c1ec9a3964cc7813 -size 5690863 diff --git a/swig-3.0.4.tar.gz b/swig-3.0.4.tar.gz new file mode 100644 index 0000000..de058c1 --- /dev/null +++ b/swig-3.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:410ffa80ef5535244b500933d70c1b65206333b546ca5a6c89373afb65413795 +size 5720119 diff --git a/swig.changes b/swig.changes index 776e0c4..60bf32e 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Jan 15 06:57:56 UTC 2015 - kkaempf@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 - kkaempf@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 + ------------------------------------------------------------------- Sun Sep 14 15:34:33 UTC 2014 - schwab@linux-m68k.org diff --git a/swig.spec b/swig.spec index b6244c7..8f6604f 100644 --- a/swig.spec +++ b/swig.spec @@ -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 @@ Group: Development/Languages/C and C++ Url: http://www.swig.org/ Source: http://sourceforge.net/projects/swig/files/swig/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: %{name}.rpmlintrc -Patch: nested_classes.diff + BuildRequires: autoconf BuildRequires: automake BuildRequires: boost-devel @@ -120,7 +120,6 @@ understandig SWIG usage. %prep %setup -q -%patch %build %configure --disable-ccache