Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package swig for openSUSE:Factory checked in at 2024-03-13 22:16:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swig (Old) and /work/SRC/openSUSE:Factory/.swig.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swig" Wed Mar 13 22:16:15 2024 rev:82 rq:1154599 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/swig/swig.changes 2023-03-09 17:45:27.442817654 +0100 +++ /work/SRC/openSUSE:Factory/.swig.new.1770/swig.changes 2024-03-13 22:16:34.463847980 +0100 @@ -1,0 +2,737 @@ +Sun Feb 25 09:25:59 UTC 2024 - Andreas Stieger <[email protected]> + +- update to 4.2.1: + * Tcl 9.0 support + * Octave 9.0 support + * Improvements wrapping friend functions + * Variadic templated functions within a template support + * Type deduction enhancements + * Stability and regression fixes +- package examples as noarch + +------------------------------------------------------------------- +Thu Jan 25 11:22:31 UTC 2024 - ecsos <[email protected]> + +- Fix build error on Leap. + +------------------------------------------------------------------- +Tue Jan 02 08:33:49 UTC 2024 - [email protected] + +- Update to version 4.2.0: + * Drop version number from index.html + * Visual C++ warning suppression + * Fix some warnings for Py_LIMITED_API + * Ruby 3.3 released and works now in GHA + * Visual C++ warning fixes + * Add 4.2.0 release date + * Revert mistaken commit + * Document -std= options + * [Tcl] Prepare `load` command usage for TIP 595 (#2737) + * Python castmode minor tweaks + * CHANGES file correction + * Remove removed -stable-abi option from --help output + * [PHP] Fix %feature(php:allowdynamicproperties, 0) + * Add Node-API to release notes + * Create tarball in one step + * Fix maybe uninitialized warnings + * Document directorout std::string_view limitations + * python/cast_mode: Add tests for min/max of double -> int convertions. + * python/cast_mode: Fix integer overflow of LONG_MAX+1. + +------------------------------------------------------------------- +Thu Dec 21 12:30:52 UTC 2023 - [email protected] + +- Update to version 4.2.0-beta1: + * HTML fixes + * Update release notes summary + * Expand director_string_runme.* + * Sort out directorout typemaps for std::string_view + * Fix testcase comment typo + * Make csharp_argument_defaults_feature testcase c++98 compatible + * Changes file update for Ruby negative number checks + * Minor tweaks and docs for the cs:defaultargs feature + * Reworked python limited api when checking type of a PyObject + * Python stable ABI notes + * Avoid testing python_runtime_data.multicpptest for builtin and stable abi + * Stable abi and std::string_view + * docstring example for stable abi + * Corrections for using EXTRA_CXXFLAGS in GHA + * Fix for python-3.11+ and stable abi + * Fix seg fault using stable abi for Python < 3.10 for invalid unicode + * Document Python stable ABI support + * SWIG_AsCharPtrAndSize simplification and performance improvement + * Revert mistaken directorout std::string_view typemap change + * Fix std::string_view typemaps for Py_LIMITED_API + * -Werror=declaration-after-statement fix for Python 2 + * Rename SWIGâs Tcl_GetBoolFromObj() + * Replace SWIG_Python_str_AsChar with SWIG_PyUnicode_AsUTF8AndSize + * Simpler SWIG_AsCharPtrAndSize implementation - remove usage of SWIG_Python_str_AsChar + * CHANGES.current: Add entry for previous commit + * Use Tcl_GetString() instead of Tcl_GetStringFromObj(â¦, NULL) + * [perl] Fix compiler warnings + * Expand cpp_decltype_unsupported error testcase + * Update references to libv8-dev + * Remove incorrect ticket reference + * Fix typo + * Rename -py3-stable-abi option to -stable-abi + * Expand cpp_decltype_unsupported error testcase + * feature("cs:defaultargs") interface test + * [Tcl] Add missing casts to NULL sentinel + * Python stable abi memory leak fix + * Python stable abi for std::filesystem + * Merge conflict fixes and consistent error reporting in stable abi checks + * Workaround SWIG/Go bug triggered by extended testcase + * Add testcase for decltype cases we don't yet deduce + * Extend type deduction + * Fix deduced type of unary * + * [Ocaml] Remove deprecated -suffix command line option + * Fix minor doc typos + * Remove deprecated shared_ptr and intrusive_ptr macros + * Remove specialize_std_map_on_* for guile and mzscheme + * Remove deprecated map and vector specialisation macros + * Remove long-deprecated %attribute_ref + * feature("cs:defaultargs") review changes + * Add changes entry for python potential multi-thread crash + * Update comment referencing removed GH API + * [guile] Remove unnecessary (char*) casts + * Eliminate lingering use of removed GH API + * Fix out-dated developer docs + * Removed unused T_ENUM code + * Support type deduction of enums + * Address decltype(foo(0)) segfault better + * feature("cs:defaultargs") + * Fix segfault on decltype(foo(0)) + * Update type inference documentation + * Fix typos in comments and docs + * Add missing cpp20_constexpr_destructor testcase + * Add support for C++20 constexpr destructors + * Only suppress -Wbool-compare for GCC >= 5 + * Avoid warning in cpp11_decltype + * Deduce type of TYPE(EXPRESSION) + * Fix director_classes testcase failures on x86 + * Suppress -Wbool-comapre warnings in constant_expr_c testcase + * Fix testcase addition in previous commit + * Fix dropping of parentheses around < and > expressions + * Fix deduced result type of bitwise not + * Add <type_traits> fragment for traits usage in std::filesystem + * Correct const std::filesystem & typemaps + * Improve type deduction + * Fix memory leak wrapping const std::filesystem& + * std::filesystem pointer handling correction + * Python std::filesystem cleanup + * Cosmetic whitespace corrections + * GHA allow fail for ruby-3.3 + * Fix for closing off C# property declaration + * Fix random doubled spaces in code + * Add CHANGES entries for previous two commits + * [Tcl] Avoid `-Wmissing-braces` warning + * [Tcl] Migrate `CONST` to `const` + * Enhance the C# std::unordered_set testcase + * CMake: Bump required version (#2696) + * Replace empty() method with IsEmpty C# property in STL containers + * Add C# std_unordered_set.i for wrapping std::std_unordered_set + * [Tcl] Remove docs for CONSTANT typemaps + * Fix text formatting + * Support -std= command line option + * Add runtime tests for C# std::unordered_map + * Add csbegin, dbegin, javabegin for %module + * Modify testcase to be c++98 compliant + * $typemap() fix for handling variable overrides + * Improvements to $typemap() special variable replacement overrides + * [ci] Fix Ruby 3.3 job + * Remove reintroduced reference to BOTH + * Correct the implementation of Python PEP 207. + * csharp: Added std_unordered_map.i + * Correct initialization order in Language + * Correct github issue link + * C++11 enum base type is now used for D enum base type + * C++11 enum base type is now used for C# underlying enum type + * Use single characters instead of strings where possible + * Call swig_msg.c_str() directly rather than virtual method + * Remove redundant initialization code + * Further using declarations fix for inheritance hierarchies + * Swig_symbol_clookup_check bug fix + * Fix minor typos in manual + * [ci] Add Ruby 3.3 build + * [doc] Update "known to work" for Ruby + * Fix redundant cast warning in Java std::map wrapper put method + * carrays.i library modified to use size_t instead of int + * D size_t typecheck + * [ci] Add job for PHP 8.3 + * [PHP] Fix testcase director_finalizer with PHP 8.3 + * Fix misindented line + * Fix comment typos + * Give https: URL for PCRE download + * Fix suggested replacement for -feature + * Java STL changes to use Java int, support 64-bit size_t + * Improved C long handling for C# + * simplify swigarch + * Slim down swigarch.i + * Java - SWIGWORDSIZE64 for long type + * Simplify inttypes.i + * Enhanced std::map for non-default constructible types changes entry + * Add missing exception.i for std::map wrappers for MzScheme and Guile + * std::map wrappers and non-default constructible + * Changes file update for array variable initialisation + * Upgrade boost version to fix appveyor testing + * to run the CI + * Add test for C++ boolean types in preprocessor + * Source/Preprocessor/expr.c: Support boolean values in preprocessor expressions + * Rtest3 (#2448) + * Complete transition to rtypecheck typemaps from hard coded logic + * Redundant code removal in nested.cxx + * Ruby constants and uppercasing regression fix + * Fix incorrect variable setters being generated when wrapping arrays + * Non-assignable detection fixes when wrapping const 2D arrays + * Non-assignable detection fixes when wrapping const member variables + * Restore missing variable setters for types containing non-assignable static members + * Correct instantiate of std::basic_istream and std::basic_ostream + * Non-assignable detection fixes when wrapping rvalue reference variables + * Non-assignable detection fixes when wrapping reference variables + * Assignment operator detection fixes when wrapping static member variables + * Replace Language::is_assignable with Language::is_immutable + * Implicit assignment operator detection fixes. + * template_private_assign + * Add tests for C++11 deleted assignment operators and member variables + * Private assignment for templates testcase + * Variable setters for non-assignable types + * Guile, Ocaml, Perl - add missing use of is_assignment() for variable wrappers + * Fix testcase for C++20 + * C++11 deleted destructors fixes + * Tidy up internal "has_copy_constructor" attribute + * Tidy up internal "has_destructor" attributes + * Remove unused "has_constructor" internal attribute + * Fix %copyctor feature and C++11 deleted copy constructors + * C++11 single default deleted constructor fix + * C++11 default deleted constructors fix + * Fixed make file ordering + * Language module sections clarification + * Fixed line endings + * Remove debug output from Octave test + * Fix for gcc-13 warning in SWIGTYPE[ANY][ANY] typemaps + * Remove incorrect fragment dependency + * Fix testcase warning with gcc-13 + * Fix gcc-13 warning in scilab example + * CCache mdfour refactor to fix gcc-13 warning + * GHA: Add node 20, add gcc-13, test with clang-14 + * Fix python 3.12 tests + * Add in missing feature:python:tp_watched for python-3.12 + * Test python-3.12 on GHA, fix missing field initialization for builtin + * Fix testcase for python-3.12 + * Testcase fix for python-3.12 + * Fix missing-field-initializers warning with Py3.12 + * Correct attempts to not run tests in Javascript and Octave + * Add some missing tests not being run + * Suppress clang warnings in test-suite + * Add reference to fixed SF bug + * Remove lingering bit of except typemap support + * [Ruby] Remove -feature command line option + * handle `"tmap:in" == NULL` + * Work around Visual Studio 2017 bug in testcase + * Add support for using declarations to introduce templated members + * Fix using declarations for deep inheritance hierarchies + * Missing scope restore in Allocate::classDeclaration + * Fix missing constructor generation due to abstract class test failure + * Comment correction since recent code refactor + * Corrected type returned from calling nodeType + * Fail at compile time for multiple typemap substitution + * [PHP] Add missing overloading functionality + * [php] Fix new template_construct testcase warning + * Fix comments to match actual function return value + * Documentation clarification about $action in Python "shadow" feature + * Fix %copyctor used on class hierarchies with non-const copy constructor + * Fix duplicate sym:overname values using %copyctor + * Fix duplicate sym:overname values using %copyctor + * Warning 302 rewording update for %extend + * Warnings 302 and 322 code refactor + * Reword and simplify warnings 302 and 322 + * Correct display of redundant typedefs in Warnings 302 and 322 + * Correct display of class names in Warnings 302 and 322 + * More redefinition/redeclaration warning message improvements + * Redefinition/redeclaration warning message improvements + * Consistency in warnings for ambiguous/redefined templated constructors + * Fix display of template names in error messages in parser + * Expand constructor runtime tests to Ruby + * Javascript - ignore constructor renaming + * More refactoring for internal destructor and constructor names + * C++11 using declarations for inheriting implicit base templated constructors + * Default constructor detection fix for templated constructors + * Constructors and destructors declared with template parameters + * More director protected constructor tests + * C++11 using declarations for inheriting constructors + * Document change in Allocate module + * Add warning for incorrect using declarations for inheriting constructors + * Fix C++11 using declarations for inheriting implicit base constructors + * Move adding members due to using declaration from Allocate to TypePass + * Move addCopyConstructor, addDefaultConstructor, addDestructor from Language to Allocate + * Replace Language::directorsEnabled() with Swig_directors_enabled() + * Fix using declarations and templates with explicitly declared constructors + * Add testcase for using declarations and templates + * C++11 using declarations for inheriting constructors - template classes with template base classes + * Internal destructor name no longer contains template parameters + * Internal constructor name no longer contains template parameters + * Visual C++ warning fixes in testcases + * Appveyor - upgrade boost + * settle for an abort + * Clean up and comment template parameter patching code + * use SWIG_Exception_fail + * guard against applying in typemaps twice + * Temporarily disable access_change test for D + * C++11 using declarations for template classes with non-template base classes + * [ocaml] Rename value in cpp11_function_objects.i to avoid clash + * [ocaml] Rename value in bools.i to avoid clash + * Add missing testcase + * C++11 using declarations for inheriting overloaded constructors + * Refactor accessDeclaration methods + * Add support for C++11 using declarations for inheriting constructors + * Added unit test + * Using #ifdef instead of #if to prevent warnings + * Fix for #2625 Using c++17 insert_or_assign for std::map when available. + * Try to use wstring/wchar_t on windows + * Reformat + * Rename the helpers within the fragment to be more uniquely named + * Make CI rerun (and output all failed cases for the specialPath) + * Address review comments + * Need to see which assert is failing on mingw + * Verbose assert to try and see the failure on mingw + * path::string() returns a copy not a const ref. ++++ 440 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/swig/swig.changes ++++ and /work/SRC/openSUSE:Factory/.swig.new.1770/swig.changes Old: ---- _service _servicedata swig-v4.1.1.tar.gz New: ---- swig-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swig.spec ++++++ --- /var/tmp/diff_new_pack.cjj5NB/_old 2024-03-13 22:16:35.367881238 +0100 +++ /var/tmp/diff_new_pack.cjj5NB/_new 2024-03-13 22:16:35.371881385 +0100 @@ -1,7 +1,7 @@ # # spec file for package swig # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,24 +30,25 @@ BuildRequires: ruby-devel %endif Name: swig -Version: 4.1.1 +Version: 4.2.1 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: http://www.swig.org/ -Source: https://github.com/swig/swig/archive/v%{version}/%{name}-v%{version}.tar.gz +URL: https://www.swig.org/ +Source: https://sourceforge.net/projects/swig/files/swig/swig-%{version}/%{name}-%{version}.tar.gz Source1: %{name}.rpmlintrc - -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: bison BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: libtool BuildRequires: pcre2-devel BuildRequires: perl BuildRequires: pkgconfig +%if 0%{?suse_version} <= 1600 +BuildRequires: gcc12 +BuildRequires: gcc12-c++ +%else +BuildRequires: gcc +BuildRequires: gcc-c++ +%endif %if 0%{?centos_version} >= 800 BuildRequires: boost-devel BuildRequires: python3-devel @@ -103,6 +104,7 @@ License: BSD-3-Clause Group: Documentation/Howto Requires: swig +BuildArch: noarch %description examples SWIG is a compiler that attempts to make it easy to integrate C, C++, @@ -118,31 +120,34 @@ understandig SWIG usage. %prep -%setup -q +%autosetup -p1 %build +%if 0%{?suse_version} <= 1600 +export CC=gcc-12 +export CXX=g++-12 +%endif %ifarch s390 s390x export CCSHARED="-fPIC" %endif -./autogen.sh %configure \ %if %{without swig_ocaml} --without-ocaml \ %endif --disable-ccache -make %{?_smp_mflags} +%make_build %check %if 0%{?suse_version} >= 1500 || 0%{?centos_version} >= 800 export PY3=true %endif -make %{?_smp_mflags} check EXTRA_CXXFLAGS="-fexcess-precision=fast" +%make_build check EXTRA_CXXFLAGS="-fexcess-precision=fast" %install %make_install install -d %{buildroot}%{docpath} -cp -a TODO ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \ +cp -a TODO ANNOUNCE CHANGES* README Doc/{Devel,Manual} \ %{buildroot}%{docpath} install -d %{buildroot}%{_datadir}/swig cp -a Examples %{buildroot}%{_datadir}/swig/examples @@ -162,7 +167,7 @@ %fdupes %{buildroot} %files -%defattr(644,root,root,755) +%license LICENSE %dir %{docpath} %{docpath}/[A-Z][A-Z]* %{_datadir}/swig @@ -170,10 +175,12 @@ %attr(755,root,root) %{_bindir}/swig %files doc +%license LICENSE %{docpath}/Devel %{docpath}/Manual %files examples +%license LICENSE %{docpath}/Examples %{_datadir}/swig/examples ++++++ swig-v4.1.1.tar.gz -> swig-4.2.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/swig/swig-v4.1.1.tar.gz /work/SRC/openSUSE:Factory/.swig.new.1770/swig-4.2.1.tar.gz differ: char 12, line 1
