Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nim for openSUSE:Factory checked in 
at 2023-03-15 18:56:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nim (Old)
 and      /work/SRC/openSUSE:Factory/.nim.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nim"

Wed Mar 15 18:56:38 2023 rev:22 rq:1072168 version:1.6.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/nim/nim.changes  2022-11-24 12:25:34.738193453 
+0100
+++ /work/SRC/openSUSE:Factory/.nim.new.31432/nim.changes       2023-03-15 
18:56:45.181100006 +0100
@@ -1,0 +2,16 @@
+Mon Mar 13 15:19:34 UTC 2023 - Andrea Manzini <[email protected]>
+
+- Update to version 1.6.12:
+  * Fixed “sizeof object containing a set is wrong” 
+  * Fixed “Missing bounds check for len(toOpenArray..)” 
+  * Fixed “Add warning for bare except: clause” 
+  * Fixed “Little Copyright notice inconsistency” 
+  * Fixed “std/deques: wrong result after calling shrink” 
+  * Fixed “io.readLine adds ‘\00’ char to the end” 
+  * Fixed “New JS mdoe issue: return + ref ints.” 
+  * Fixed “Bad codegen for passed var seq to proc returning array[] 
converted to seq with @” 
+  * Fixed “Templates allowed to use ambiguous identifier” 
+  * Fixed “Mutating a var parameter through a mutable view triggers 
SIGSEGV” 
+  * Fixed “gcc error when constructing an object that has the same name in 
the same file name in 2 different directories” 
+
+-------------------------------------------------------------------

Old:
----
  nim-1.6.10.tar.xz

New:
----
  nim-1.6.12.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nim.spec ++++++
--- /var/tmp/diff_new_pack.D74YYO/_old  2023-03-15 18:56:45.981104261 +0100
+++ /var/tmp/diff_new_pack.D74YYO/_new  2023-03-15 18:56:45.985104282 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nim
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # 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:           nim
-Version:        1.6.10
+Version:        1.6.12
 Release:        0
 Summary:        A statically typed compiled systems programming language
 License:        MIT
@@ -30,18 +30,14 @@
 Patch1:         nim-fix-tests-certificate-key-too-small.patch
 # UPSTREAM FIX: 
https://github.com/nim-lang/Nim/commit/2c73e84436a11cae1676c7da0228158ba1a885cc
 Patch2:         nim-fix-tests-ip-protocol-missing.patch
-
-# pull in a C compiler (required to build Nim programs)
-Requires:       gcc
-Recommends:     clang
-Recommends:     pcre
-
 BuildRequires:  binutils-devel
-
-# required for the testsuite
-BuildRequires:  gc-devel
 BuildRequires:  ca-certificates
 BuildRequires:  ca-certificates-mozilla
+# required for the testsuite
+BuildRequires:  gc-devel
+# Nim needs support for both __builtin_saddll_overflow and
+# -std=c++14, therefore gcc 6.2+ is required.
+BuildRequires:  gcc-c++ >= 6.2
 BuildRequires:  git
 BuildRequires:  libopenssl-devel
 BuildRequires:  netcfg
@@ -49,22 +45,20 @@
 BuildRequires:  sqlite3-devel
 BuildRequires:  timezone
 BuildRequires:  valgrind
-
-# Nim needs support for both __builtin_saddll_overflow and
-# -std=c++14, therefore gcc 6.2+ is required.
-BuildRequires:  gcc-c++ >= 6.2
-
+# pull in a C compiler (required to build Nim programs)
+Requires:       gcc
+Recommends:     clang
+Recommends:     git
+Recommends:     pcre
+ExclusiveArch:  %{ix86} x86_64 armv7l armv7hl aarch64 ppc64le
 # Needs node 12 for flag --unhandled-rejections=strict, but it's not
 # strictly needed (it's used to test the Nim JS compiler, so we can
 # skip it and run tests without this compiler target afterwards)
-%if 0%{?suse_version} >= 150100 || (0%{?suse_version} >= 150100 && 
0%{?is_backports})
+%if 0%{?suse_version} >= 1501 || (0%{?suse_version} >= 1501 && 
0%{?is_backports})
 BuildRequires:  nodejs >= 12
 Recommends:     nodejs
 %endif
 
-Recommends:     git
-ExclusiveArch:  %{ix86} x86_64 armv7l armv7hl aarch64 ppc64le
-
 %description
 Nim is a statically typed compiled systems programming language. It
 combines successful concepts from mature languages like Python, Ada
@@ -108,7 +102,7 @@
 export NIMFLAGS="$NIMFLAGS %{?jobs:--parallelBuild:%{jobs}}"
 
 ./build.sh
-make %{?_smp_mflags} V=1 CFLAGS="%{optflags}"
+%make_build CFLAGS="%{optflags}"
 
 ./bin/nim c  $NIMFLAGS -d:release koch
 ./koch boot  $NIMFLAGS -d:release
@@ -144,6 +138,7 @@
   tests/arc/thard_alignment.nim
   # this one needs NodeJS althought its not required by the build
   tests/nimdoc/trunnableexamples.nim
+  tests/js/tnativeexc.nim
   # broken in Leap 15.3
   tests/exception/t13115.nim
   # no SFML in plain SLE and missing in backport repos
@@ -154,6 +149,8 @@
 cat << EOT >> tests_to_skip
   # flaky test, fails in i586
   tests/async/tasyncssl.nim
+  tests/realtimeGC/tmain.nim
+  tests/realtimeGC/shared.nim
 EOT
 %endif
 
@@ -180,7 +177,7 @@
 EOT
 %endif
 
-%if 0%{?suse_version} < 150100
+%if 0%{?suse_version} < 1501
 cat << EOT >> tests_to_skip
   # deactivate all tests that require node, as node version in
   # SLE and Leap 15.1 is either too old or not available at all
@@ -237,6 +234,7 @@
 # move executables to final location (or delete what isn't needed)
 rm $TARGET/nim/bin/atlas
 rm $TARGET/nim/bin/testament
+rm $TARGET/nim/nim.nimble
 mv $TARGET/nim/bin %{buildroot}%{_libdir}/nim/
 
 # strip all symbols from binaries

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.D74YYO/_old  2023-03-15 18:56:46.017104453 +0100
+++ /var/tmp/diff_new_pack.D74YYO/_new  2023-03-15 18:56:46.021104473 +0100
@@ -3,7 +3,9 @@
     <memory>
       <size unit="G">4</size>
     </memory>
+    <disk>
+      <size unit="G">4</size>
+    </disk>
   </hardware>
 </constraints>
-(No newline at EOF)
 

++++++ nim-1.6.10.tar.xz -> nim-1.6.12.tar.xz ++++++
++++ 14595449 lines of diff (skipped)
++++    retrying with extended exclude list

++++++ nim-fix-tests-certificate-key-too-small.patch ++++++
--- /var/tmp/diff_new_pack.D74YYO/_old  2023-03-15 18:57:06.873215391 +0100
+++ /var/tmp/diff_new_pack.D74YYO/_new  2023-03-15 18:57:06.877215413 +0100
@@ -12,10 +12,10 @@
  tests/testdata/mycert.pem | 105 ++++++++++++++++++++++++++++----------
  1 file changed, 77 insertions(+), 28 deletions(-)
 
-diff --git a/tests/testdata/mycert.pem b/tests/testdata/mycert.pem
-index 69039fe04936..61dcb685c325 100644
---- a/tests/testdata/mycert.pem
-+++ b/tests/testdata/mycert.pem
+Index: nim-1.6.12/tests/testdata/mycert.pem
+===================================================================
+--- nim-1.6.12.orig/tests/testdata/mycert.pem
++++ nim-1.6.12/tests/testdata/mycert.pem
 @@ -1,32 +1,81 @@
  -----BEGIN PRIVATE KEY-----
 -MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAL9QXX/nuiFbizdI

++++++ nim-fix-tests-ip-protocol-missing.patch ++++++
--- /var/tmp/diff_new_pack.D74YYO/_old  2023-03-15 18:57:06.885215455 +0100
+++ /var/tmp/diff_new_pack.D74YYO/_new  2023-03-15 18:57:06.889215476 +0100
@@ -20,10 +20,10 @@
  tests/stdlib/tgetprotobyname.nim | 4 ----
  1 file changed, 4 deletions(-)
 
-Index: nim-1.6.6/tests/stdlib/tgetprotobyname.nim
+Index: nim-1.6.12/tests/stdlib/tgetprotobyname.nim
 ===================================================================
---- nim-1.6.6.orig/tests/stdlib/tgetprotobyname.nim
-+++ nim-1.6.6/tests/stdlib/tgetprotobyname.nim
+--- nim-1.6.12.orig/tests/stdlib/tgetprotobyname.nim
++++ nim-1.6.12/tests/stdlib/tgetprotobyname.nim
 @@ -1,14 +1,7 @@
  import nativesockets
  
@@ -39,10 +39,10 @@
  
  when defined(windows):
    doAssertRaises(OSError):
-Index: nim-1.6.6/lib/pure/nativesockets.nim
+Index: nim-1.6.12/lib/pure/nativesockets.nim
 ===================================================================
---- nim-1.6.6.orig/lib/pure/nativesockets.nim
-+++ nim-1.6.6/lib/pure/nativesockets.nim
+--- nim-1.6.12.orig/lib/pure/nativesockets.nim
++++ nim-1.6.12/lib/pure/nativesockets.nim
 @@ -214,7 +214,7 @@ proc getProtoByName*(name: string): int
      let protoent = posix.getprotobyname(name.cstring)
  

++++++ nim-nim-gdb_fix_interpreter.patch ++++++
--- /var/tmp/diff_new_pack.D74YYO/_old  2023-03-15 18:57:06.901215540 +0100
+++ /var/tmp/diff_new_pack.D74YYO/_new  2023-03-15 18:57:06.901215540 +0100
@@ -1,7 +1,7 @@
-Index: nim-1.6.6/bin/nim-gdb
+Index: nim-1.6.12/bin/nim-gdb
 ===================================================================
---- nim-1.6.6.orig/bin/nim-gdb
-+++ nim-1.6.6/bin/nim-gdb
+--- nim-1.6.12.orig/bin/nim-gdb
++++ nim-1.6.12/bin/nim-gdb
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env bash
 +#!/usr/bin/bash

Reply via email to