Hello community, here is the log from the commit of package stockfish for openSUSE:Factory checked in at 2020-10-12 13:59:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/stockfish (Old) and /work/SRC/openSUSE:Factory/.stockfish.new.3486 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "stockfish" Mon Oct 12 13:59:44 2020 rev:8 rq:841236 version:12 Changes: -------- --- /work/SRC/openSUSE:Factory/stockfish/stockfish.changes 2020-01-20 22:53:37.707301593 +0100 +++ /work/SRC/openSUSE:Factory/.stockfish.new.3486/stockfish.changes 2020-10-12 14:00:19.398241329 +0200 @@ -1,0 +2,9 @@ +Sat Oct 10 00:00:00 CEST 2020 - dste...@suse.cz + +- Update to version 12: + * 130 Elo stronger than version 11 + * powered by NNUE (nn-baeb9ef2d183.nnue) + * More at https://github.com/official-stockfish/Stockfish/commit/c306d838697011da0a960758dde3f7ede6849060 + * Added patch: update-nnue.patch + +------------------------------------------------------------------- Old: ---- stockfish-11.tar.gz New: ---- nn-baeb9ef2d183.nnue.xz stockfish-12.tar.gz update-nnue.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stockfish.spec ++++++ --- /var/tmp/diff_new_pack.fSKPii/_old 2020-10-12 14:00:20.506241791 +0200 +++ /var/tmp/diff_new_pack.fSKPii/_new 2020-10-12 14:00:20.506241791 +0200 @@ -1,7 +1,7 @@ # # spec file for package stockfish # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,10 @@ # +%define nnuenet nn-baeb9ef2d183.nnue + Name: stockfish -Version: 11 +Version: 12 Release: 0 Summary: Chess engine License: GPL-3.0-or-later @@ -26,10 +28,13 @@ # 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 Source11: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/%{name}/vivid/download/head:/%{name}.6-20091204230329-yljoyxocuxhxg1ot-76/%{name}.6 +Source12: %{nnuenet}.xz # If 'Version' is not set it will display the date as version number. We dont want __DATE__ and Version is set anyways. Patch0: date.patch +Patch1: update-nnue.patch BuildRequires: dos2unix BuildRequires: gcc-c++ +BuildRequires: xz Recommends: xboard Provides: chess_backend ExclusiveArch: %{power64} %{ix86} x86_64 armv7l armv7hl armv7hnl @@ -47,7 +52,10 @@ %prep %setup -q -n Stockfish-sf_%{version} %patch0 -p1 +%patch1 -p0 cp -p %{SOURCE10} %{SOURCE11} . +xz -cd %{SOURCE12} > src/%{nnuenet} + dos2unix %{name}-interface.txt dos2unix Copying.txt @@ -76,7 +84,7 @@ %files %license Copying.txt -%doc AUTHORS %{name}-interface.txt Readme.md +%doc AUTHORS %{name}-interface.txt README.md %{_mandir}/man*/%{name}.* %{_bindir}/%{name} ++++++ date.patch ++++++ --- /var/tmp/diff_new_pack.fSKPii/_old 2020-10-12 14:00:20.534241803 +0200 +++ /var/tmp/diff_new_pack.fSKPii/_new 2020-10-12 14:00:20.534241803 +0200 @@ -1,7 +1,8 @@ -diff -urEbwB Stockfish-sf_7/src/misc.cpp Stockfish-sf_7.new/src/misc.cpp ---- Stockfish-sf_7/src/misc.cpp 2016-01-02 21:26:02.000000000 +0100 -+++ Stockfish-sf_7.new/src/misc.cpp 2016-04-28 11:35:29.001468116 +0200 -@@ -99,18 +99,10 @@ +Index: Stockfish-sf_12/src/misc.cpp +=================================================================== +--- Stockfish-sf_12.orig/src/misc.cpp ++++ Stockfish-sf_12/src/misc.cpp +@@ -140,18 +140,10 @@ public: const string engine_info(bool to_uci) { @@ -18,6 +19,6 @@ - ss << setw(2) << day << setw(2) << (1 + months.find(month) / 4) << year.substr(2); - } - - ss << (Is64Bit ? " 64" : "") - << (HasPext ? " BMI2" : (HasPopCnt ? " POPCNT" : "")) - << (to_uci ? "\nid author ": " by ") + ss << (to_uci ? "\nid author ": " by ") + << "the Stockfish developers (see AUTHORS file)"; + ++++++ stockfish-11.tar.gz -> stockfish-12.tar.gz ++++++ ++++ 11664 lines of diff (skipped) ++++++ update-nnue.patch ++++++ --- src/evaluate.h.orig 2020-10-10 13:33:54.744383007 +0200 +++ src/evaluate.h 2020-10-10 13:34:04.772383312 +0200 @@ -38,7 +38,7 @@ // The default net name MUST follow the format nn-[SHA256 first 12 digits].nnue // for the build process (profile-build and fishtest) to work. Do not change the // name of the macro, as it is used in the Makefile. - #define EvalFileDefaultName "nn-82215d0fd0df.nnue" + #define EvalFileDefaultName "nn-baeb9ef2d183.nnue" namespace NNUE {