diff --git a/swig-4.2.1.tar.gz b/swig-4.2.1.tar.gz deleted file mode 100644 index 75c796c..0000000 --- a/swig-4.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa045354e2d048b2cddc69579e4256245d4676894858fcf0bab2290ecf59b7d8 -size 8364050 diff --git a/swig-4.3.0.tar.gz b/swig-4.3.0.tar.gz new file mode 100644 index 0000000..d1939d5 --- /dev/null +++ b/swig-4.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7203ef796f61af986c70c05816236cbd0d31b7aa9631e5ab53020ab7804aa9e +size 8616205 diff --git a/swig.changes b/swig.changes index cc75374..2a2f05c 100644 --- a/swig.changes +++ b/swig.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Oct 21 11:49:43 UTC 2024 - Klaus Kämpf + +- Update to 4.3.0 (final) + +------------------------------------------------------------------- +Tue Oct 8 09:43:32 UTC 2024 - Klaus Kämpf + +- Update to 4.3.0~beta1 + - Add experimental support for C as a target language. + - MzScheme/Racket is deprecated and planned for removal in SWIG-4.4. + - The distributed Windows binary is now a 64-bit executable. + - Add some missing use of move semantics for performance improvements. + - Enhanced handling of namespaces when using the nspace feature. + - STL wrapper enhancements for std::unique_ptr, std::string_view, + std::filesystem. + - Various enum and enum class wrapping improvements. + - Other C++ handling improvements around templates, friends, C++11 + trailing return types and C++17 fold expressions. + - Many parser improvements for both C and C++, especially + expressions. + - Improvements to handling of string and character literals. + - Minor preprocessor fixes. + - Python: Stricter stable ABI conformance, add support for python-3.13. + - C#: Add support for converting Doxygen comments into XML C# comments. + - Various other target language specific enhancements and updates for + Java, Javascript, Lua, MzScheme, Ocaml, Octave, Perl, Python, R, Ruby. + ------------------------------------------------------------------- Sun Feb 25 09:25:59 UTC 2024 - Andreas Stieger diff --git a/swig.spec b/swig.spec index 6ef0ccf..6ab10f7 100644 --- a/swig.spec +++ b/swig.spec @@ -30,19 +30,19 @@ BuildRequires: ruby BuildRequires: ruby-devel %endif Name: swig -Version: 4.2.1 +Version: 4.3.0 Release: 0 Summary: Simplified Wrapper and Interface Generator License: BSD-3-Clause AND GPL-3.0-or-later Group: Development/Languages/C and C++ URL: https://www.swig.org/ -Source: https://sourceforge.net/projects/swig/files/swig/swig-%{version}/%{name}-%{version}.tar.gz +Source: https://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.rpmlintrc BuildRequires: fdupes BuildRequires: pcre2-devel BuildRequires: perl BuildRequires: pkgconfig -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} < 1600 BuildRequires: gcc12 BuildRequires: gcc12-c++ %else @@ -120,10 +120,10 @@ This package contains SWIG examples, useful both for testing and understandig SWIG usage. %prep -%autosetup -p1 +%autosetup -p1 -n %{name}-%{version} %build -%if 0%{?suse_version} <= 1600 +%if 0%{?suse_version} < 1600 export CC=gcc-12 export CXX=g++-12 %endif @@ -141,6 +141,10 @@ export CCSHARED="-fPIC" %if 0%{?suse_version} >= 1500 || 0%{?centos_version} >= 800 export PY3=true %endif +%if 0%{?suse_version} < 1600 +export CC=gcc-12 +export CXX=g++-12 +%endif %make_build check EXTRA_CXXFLAGS="-fexcess-precision=fast" %install