public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/stockfish] f44: Update to v19 (rhbz#2529078)
@ 2026-10-25  9:32 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-10-25  9:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/stockfish
Branch : f44
Commit : b25b788cf1b9e9cdf57f08937fa446068fc2d8b6
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-10-05T16:08:06+02:00
Stats  : +9/-15 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/stockfish/c/b25b788cf1b9e9cdf57f08937fa446068fc2d8b6?branch=f44

Log:
Update to v19 (rhbz#2529078)

---
diff --git a/sources b/sources
index 0d958b8..ebf35a7 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,2 @@
-SHA512 (sf_18.zip) = 1a0b36fc70146aefccc45a1647d04a5ac409df811a527fc7f679bb966271b5fd3348d3c9ecb3277ffcacda2dd760b6f06dbba677aa10b0553c445237e5ee544f
-SHA512 (nn-c288c895ea92.nnue) = 9568d21d7b229ec9c8ee97363e94560858f3f44f4c6647ec11770f617b4a3b03cbcfa445c407f52a6104f281d43e19e0f461cc13c875218b543860ebc8411622
-SHA512 (nn-37f18f62d772.nnue) = bf4d01f8cbff94dbff484636dd0351cd66f37eeaea7b7dbe16a3bfe231ae78cfabdeed040b789b64049c6063ef0dca21e4a4f332b99e49a52993e8595e372839
+SHA512 (sf_19.zip) = 49e073b15cf56d1aab7e2e23d883e5d1737b3176441051ca42c2214f8b606b919b95c7a7ca47051e133c02a49d77f68ebb072398a1ed18b8f7a27fcb1773a2d0
+SHA512 (nn-1a298aa575a0.nnue) = 136a0f9725da7b692894a080d03d61bbfc67dcabf2f869b008891dbf042dfacb74c75df12a48bb9a9c736ce3accd670a55afae5ee40f090a0b86558e459c70bb

diff --git a/stockfish.spec b/stockfish.spec
index 998c5bc..f98775b 100644
--- a/stockfish.spec
+++ b/stockfish.spec
@@ -1,13 +1,11 @@
 %global srcname   Stockfish
 
 # In src/evaluate.h,
-# #define EvalFileDefaultNameBig "nn-HASH.nnue"
-%global nnuehash1 c288c895ea92
-# #define EvalFileDefaultNameSmall "nn-HASH.nnue"
-%global nnuehash2 37f18f62d772
+# #define EvalFileDefaultName "nn-HASH.nnue"
+%global nnuehash1 1a298aa575a0
 
 Name:            stockfish
-Version:         18
+Version:         19
 Release:         %autorelease
 #Source0:        %%{url}/files/%%{name}-%%{version}-linux.zip
 Source0:         https://github.com/official-%{name}/%{srcname}/archive/sf_%{version}.zip
@@ -19,8 +17,7 @@ License:         GPL-3.0-or-later AND CC0-1.0
 URL:             http://%{name}chess.org
 
 # the NN files
-Source1:         https://tests.stockfishchess.org/api/nn/nn-%nnuehash1.nnue
-Source2:         https://tests.stockfishchess.org/api/nn/nn-%nnuehash2.nnue
+Source1:         https://tests.stockfishchess.org/api/nn/nn-%{nnuehash1}.nnue
 
 # steal some documentation from ubuntu
 Source10:        https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/engineinterface.txt-20091204230329-yljoyxocuxhxg1ot-78/engine-interface.txt#/%{name}-interface.txt
@@ -46,8 +43,7 @@ information about how to use Stockfish with your GUI.
 
 %prep
 # verify the NNUE net checksums early to catch maintainer error
-test %nnuehash1 = "$(sha256sum %{SOURCE1} | cut -c1-12)"
-test %nnuehash2 = "$(sha256sum %{SOURCE2} | cut -c1-12)"
+test "%{nnuehash1}" = "$(sha256sum %{SOURCE1} | cut -c1-12)"
 
 #%%autosetup -n%%{name}-%%{version}-linux
 %autosetup -p1 -n%{srcname}-sf_%{version}
@@ -59,11 +55,10 @@ test %nnuehash2 = "$(sha256sum %{SOURCE2} | cut -c1-12)"
 sed -i '/#error/d' src/types.h
 
 # Verify the NNUE net checksums match the defaults defined in the sources
-grep -Fq '#define EvalFileDefaultNameBig "nn-%{nnuehash1}.nnue"' src/evaluate.h
-grep -Fq '#define EvalFileDefaultNameSmall "nn-%{nnuehash2}.nnue"' src/evaluate.h
+grep -Fq '#define EvalFileDefaultName "nn-%{nnuehash1}.nnue"' src/evaluate.h
 
 cp -t. -p %{SOURCE10} %{SOURCE11}
-cp -tsrc -p %{SOURCE1} %{SOURCE2}
+cp -tsrc -p %{SOURCE1}
 
 # W: wrong-file-end-of-line-encoding
 sed -i 's,\r$,,' %{name}-interface.txt

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-25  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25  9:32 [rpms/stockfish] f44: Update to v19 (rhbz#2529078) Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox