Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nim for openSUSE:Factory checked in at 2024-12-12 21:20:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nim (Old) and /work/SRC/openSUSE:Factory/.nim.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nim" Thu Dec 12 21:20:21 2024 rev:29 rq:1230624 version:2.0.12 Changes: -------- --- /work/SRC/openSUSE:Factory/nim/nim.changes 2024-06-20 16:47:37.542528814 +0200 +++ /work/SRC/openSUSE:Factory/.nim.new.29675/nim.changes 2024-12-12 21:21:53.465966569 +0100 @@ -1,0 +2,19 @@ +Thu Dec 12 13:44:24 UTC 2024 - Rein Fernhout <m...@levitati.ng> + +- Added various patches to disable tests that + don't pass on the current version of GCC. + * 0001-disable-toop1-test.patch + * 0002-disable-tvmmisc-test.patch + * 0003-disable-cpp-tmanual_exception-test.patch + * 0004-disable-tobjcov-test.patch + +------------------------------------------------------------------- +Thu Dec 12 03:24:53 UTC 2024 - Rein Fernhout <m...@levitati.ng> + +- Update to version 2.0.12 + See https://nim-lang.org/blog/2024/11/01/nim-2012-released.html + and https://nim-lang.org/blog/2024/10/02/nim-220-2010.html + and https://nim-lang.org/blog/2024/07/03/version-208-released.html + for all changes. + +------------------------------------------------------------------- Old: ---- nim-2.0.6.tar.xz New: ---- 0001-disable-toop1-test.patch 0002-disable-tvmmisc-test.patch 0003-disable-cpp-tmanual_exception-test.patch 0004-disable-tobjcov-test.patch nim-2.0.12.tar.xz sat-faf1617f44d7632ee9601ebc13887644925dcc01.tar.gz BETA DEBUG BEGIN: New: don't pass on the current version of GCC. * 0001-disable-toop1-test.patch * 0002-disable-tvmmisc-test.patch New: * 0001-disable-toop1-test.patch * 0002-disable-tvmmisc-test.patch * 0003-disable-cpp-tmanual_exception-test.patch New: * 0002-disable-tvmmisc-test.patch * 0003-disable-cpp-tmanual_exception-test.patch * 0004-disable-tobjcov-test.patch New: * 0003-disable-cpp-tmanual_exception-test.patch * 0004-disable-tobjcov-test.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nim.spec ++++++ --- /var/tmp/diff_new_pack.kfzpdc/_old 2024-12-12 21:21:54.037990404 +0100 +++ /var/tmp/diff_new_pack.kfzpdc/_new 2024-12-12 21:21:54.041990571 +0100 @@ -17,9 +17,10 @@ %define _atlas_version 0.8.0 +%define _sat_commit faf1617f44d7632ee9601ebc13887644925dcc01 Name: nim -Version: 2.0.6 +Version: 2.0.12 Release: 0 Summary: A statically typed compiled systems programming language License: MIT @@ -28,8 +29,13 @@ Source0: https://nim-lang.org/download/nim-%{version}.tar.xz Source1: https://github.com/nim-lang/atlas/archive/refs/tags/%{_atlas_version}.tar.gz#/atlas-%{_atlas_version}.tar.gz Source2: nim-rpmlintrc +Source3: https://github.com/nim-lang/sat/archive/%{_sat_commit}.tar.gz#/sat-%{_sat_commit}.tar.gz Patch0: nim-nim-gdb_fix_interpreter.patch Patch1: nim-fix-tests-i586.patch +Patch2: 0001-disable-toop1-test.patch +Patch3: 0002-disable-tvmmisc-test.patch +Patch4: 0003-disable-cpp-tmanual_exception-test.patch +Patch5: 0004-disable-tobjcov-test.patch BuildRequires: binutils-devel BuildRequires: ca-certificates BuildRequires: ca-certificates-mozilla @@ -93,15 +99,21 @@ * Statements are grouped by indentation but can span multiple lines. %prep -%autosetup -a1 -N +%setup -a1 -a3 + +mv atlas-%{_atlas_version} dist/atlas +mkdir dist/atlas/dist +mv sat-%{_sat_commit} dist/atlas/dist/sat %patch -P 0 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 +%patch -P 5 -p1 %ifarch i586 %patch -P 1 -p1 %endif -mv -v atlas-%{_atlas_version} dist/atlas - %build export CFLAGS="%{optflags}" export NIMFLAGS="$(echo '%{optflags}' | sed 's/\([^[:space:]]\+\)/--passC:\1/g')" ++++++ 0001-disable-toop1-test.patch ++++++ >From 42093f126275d0b5f511acaf2318298df1fec63d Mon Sep 17 00:00:00 2001 From: "LevitatingBusinessMan (Rein Fernhout)" <m...@levitati.ng> Date: Thu, 12 Dec 2024 06:42:43 +0100 Subject: [PATCH] disable toop1 test --- tests/objects/toop1.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/objects/toop1.nim b/tests/objects/toop1.nim index 3e9b24990..8dc9e312d 100644 --- a/tests/objects/toop1.nim +++ b/tests/objects/toop1.nim @@ -1,5 +1,6 @@ discard """ output: "34[]o 5" + disabled: true """ # Test the stuff in the tutorial import macros -- 2.47.1 ++++++ 0002-disable-tvmmisc-test.patch ++++++ >From cf40199267b6f3a6e19ecce3c5b1cd4a7863143b Mon Sep 17 00:00:00 2001 From: "LevitatingBusinessMan (Rein Fernhout)" <m...@levitati.ng> Date: Thu, 12 Dec 2024 08:37:59 +0100 Subject: [PATCH 2/2] disable tvmmisc test --- tests/vm/tvmmisc.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/vm/tvmmisc.nim b/tests/vm/tvmmisc.nim index 6aeac5529..487b7cd94 100644 --- a/tests/vm/tvmmisc.nim +++ b/tests/vm/tvmmisc.nim @@ -1,3 +1,6 @@ +discard """ +disabled: true +""" import macros import os -- 2.47.1 ++++++ 0003-disable-cpp-tmanual_exception-test.patch ++++++ >From 62a51ada54036de518538860539278813f7fb7e4 Mon Sep 17 00:00:00 2001 From: "LevitatingBusinessMan (Rein Fernhout)" <m...@levitati.ng> Date: Thu, 12 Dec 2024 09:32:41 +0100 Subject: [PATCH 3/3] disable cpp tmanual_exception test --- tests/cpp/tmanual_exception.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cpp/tmanual_exception.nim b/tests/cpp/tmanual_exception.nim index a91ccffe4..19d1a47b2 100644 --- a/tests/cpp/tmanual_exception.nim +++ b/tests/cpp/tmanual_exception.nim @@ -1,7 +1,8 @@ discard """ # doesn't work on macos 13 seemingly due to libc++ linking issue https://stackoverflow.com/a/77375947 - disabled: osx + # disabled: osx targets: cpp + disabled: true """ # manual example -- 2.47.1 ++++++ 0004-disable-tobjcov-test.patch ++++++ >From 34b968eac2cabdea9c6a616520f17bf1624e3586 Mon Sep 17 00:00:00 2001 From: "LevitatingBusinessMan (Rein Fernhout)" <m...@levitati.ng> Date: Thu, 12 Dec 2024 10:02:12 +0100 Subject: [PATCH 4/4] disable tobjcov test --- tests/objects/tobjcov.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/objects/tobjcov.nim b/tests/objects/tobjcov.nim index a12f74702..ea76d193c 100644 --- a/tests/objects/tobjcov.nim +++ b/tests/objects/tobjcov.nim @@ -1,6 +1,7 @@ discard """ action: compile targets: "c" +disabled: true """ # Covariance is not type safe: -- 2.47.1 ++++++ nim-2.0.6.tar.xz -> nim-2.0.12.tar.xz ++++++ /work/SRC/openSUSE:Factory/nim/nim-2.0.6.tar.xz /work/SRC/openSUSE:Factory/.nim.new.29675/nim-2.0.12.tar.xz differ: char 25, line 1