Accepting request 226429 from home:kwk:branches:devel:tools:building

- 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.

OBS-URL: https://build.opensuse.org/request/show/226429
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/swig?expand=0&rev=63
This commit is contained in:
Klaus Kämpf
2014-03-17 13:58:49 +00:00
committed by Git OBS Bridge
parent 66dae63279
commit 6f604dfc1b
7 changed files with 38 additions and 256 deletions

View File

@@ -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 @@ 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
# 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, kkaempf@suse.de
Patch11: 0001-Fix-Ruby-tracking-code-to-use-C-hash.patch
# Ruby 1.8.6 (SLE 10) differs in object tracking, kkaempf@suse.de
Patch12: ruby-1.8.6-newobject.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: boost-devel
@@ -124,14 +118,6 @@ understandig SWIG usage.
%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