Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package knights for openSUSE:Factory checked 
in at 2022-01-11 21:18:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/knights (Old)
 and      /work/SRC/openSUSE:Factory/.knights.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "knights"

Tue Jan 11 21:18:41 2022 rev:40 rq:944362 version:21.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/knights/knights.changes  2021-12-13 
20:48:44.728571552 +0100
+++ /work/SRC/openSUSE:Factory/.knights.new.1892/knights.changes        
2022-01-11 21:22:33.201097408 +0100
@@ -1,0 +2,11 @@
+Tue Jan  4 10:25:58 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 21.12.1
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/21.12.1/
+- Changes since 21.12.0:
+  * Avoid division by zero when calculation the number of moves to go
+    in the UCI protocol with time control activated. (kde#446409)
+
+-------------------------------------------------------------------

Old:
----
  knights-21.12.0.tar.xz
  knights-21.12.0.tar.xz.sig

New:
----
  knights-21.12.1.tar.xz
  knights-21.12.1.tar.xz.sig

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

Other differences:
------------------
++++++ knights.spec ++++++
--- /var/tmp/diff_new_pack.NDGKxH/_old  2022-01-11 21:22:33.741097788 +0100
+++ /var/tmp/diff_new_pack.NDGKxH/_new  2022-01-11 21:22:33.745097791 +0100
@@ -16,16 +16,16 @@
 #
 
 
-%bcond_without lang
+%bcond_without released
 Name:           knights
-Version:        21.12.0
+Version:        21.12.1
 Release:        0
 Summary:        A simple chess board
 License:        GPL-2.0-or-later
 Group:          Amusements/Games/Board/Chess
 URL:            https://apps.kde.org/knights
 Source:         
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
-%if %{with lang}
+%if %{with released}
 Source1:        
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
 Source2:        applications.keyring
 %endif
@@ -77,7 +77,7 @@
 %suse_update_desktop_file -r org.kde.knights Qt KDE Game BoardGame
 %endif
 
-%if %{with lang}
+%if %{with released}
 %find_lang %{name}
 %{kf5_find_htmldocs}
 %endif
@@ -97,7 +97,7 @@
 %{_kf5_kxmlguidir}/knights/
 %{_kf5_sharedir}/knights/
 
-%if %{with lang}
+%if %{with released}
 %files lang -f %{name}.lang
 %endif
 


++++++ knights-21.12.0.tar.xz -> knights-21.12.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-21.12.0/CMakeLists.txt 
new/knights-21.12.1/CMakeLists.txt
--- old/knights-21.12.0/CMakeLists.txt  2021-12-02 22:31:44.000000000 +0100
+++ new/knights-21.12.1/CMakeLists.txt  2022-01-03 22:45:25.000000000 +0100
@@ -3,7 +3,7 @@
 # Release Service version, managed by release script
 set (RELEASE_SERVICE_VERSION_MAJOR "21")
 set (RELEASE_SERVICE_VERSION_MINOR "12")
-set (RELEASE_SERVICE_VERSION_MICRO "0")
+set (RELEASE_SERVICE_VERSION_MICRO "1")
 set (RELEASE_SERVICE_COMPACT_VERSION 
"${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_SERVICE_VERSION_MINOR}${RELEASE_SERVICE_VERSION_MICRO}")
 
 # Bump KNIGHTS_BASE_VERSION once new features are added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-21.12.0/po/ca/docs/knights/index.docbook 
new/knights-21.12.1/po/ca/docs/knights/index.docbook
--- old/knights-21.12.0/po/ca/docs/knights/index.docbook        2021-12-03 
01:12:21.000000000 +0100
+++ new/knights-21.12.1/po/ca/docs/knights/index.docbook        2022-01-04 
01:18:07.000000000 +0100
@@ -269,7 +269,7 @@
 >.</para>
 
       <para
->Hi ha dues maneres de triar l'adversari. O b?? anunciar la vostra partida 
(anomenat <quote
+>Hi ha dues maneres de triar l'adversari. O b?? anunciar la vostra partida 
(s'anomena <quote
 >cercar</quote
 >) o respondre a alg?? altre.</para>
 
@@ -345,7 +345,7 @@
 >Les peces es mouen fent clic sobre seu i arrossegant-les cap al lloc 
 >desitjat. Nom??s podreu moure una pe??a si ??s vostra i si ??s el vostre 
 >torn, i si en moure aquesta pe??a no poseu en perill immediat al vostre 
 >rei.</para>
 
       <para
->El &i18n-knights; segueix les regles est??ndards dels escacs, pel que no 
podreu fer un moviment il??legal.</para>
+>El &i18n-knights; segueix les regles est??ndards dels escacs, aix?? que no 
podreu fer cap moviment il??legal.</para>
     </sect1>
   </chapter>
 
@@ -862,7 +862,7 @@
       <para
 >En el control de temps hi pot haver un retard per a compensar el temps perdut 
 >en realitzar un moviment f??sic. En el <quote
 >retard Bronstein</quote
->, el rellotge no comen??ar?? a funcionar al comen??ament del moviment del 
jugador, si no quan se superi el temps de retard. Si el moviment es completa 
abans que expiri el temps, no es restar?? temps del rellotge del jugador. En el 
<quote
+>, el rellotge no comen??ar?? a funcionar al comen??ament del moviment del 
jugador, sin?? quan se superi el temps de retard. Si el moviment es completa 
abans que expiri el temps, no es restar?? temps del rellotge del jugador. En el 
<quote
 >retard Fischer</quote
 >, el temps de retard s'afegir?? al temps que li queda al jugador abans del 
 >moviment. Si el moviment es realitza abans que expiri el temps, el temps de 
 >retard restant ser?? afegit al temps del rellotge del jugador. De manera 
 >similar, es pot afegir un temps fix al rellotge del jugador despr??s de 
 >completar un moviment. Quan s'afegeix el temps al rellotge, la quantitat de 
 >temps es coneix com a <quote
 >increment de temps</quote
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-21.12.0/po/zh_CN/knights.po 
new/knights-21.12.1/po/zh_CN/knights.po
--- old/knights-21.12.0/po/zh_CN/knights.po     2021-12-03 01:12:21.000000000 
+0100
+++ new/knights-21.12.1/po/zh_CN/knights.po     2022-01-04 01:18:07.000000000 
+0100
@@ -8,7 +8,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-11-03 00:17+0000\n"
-"PO-Revision-Date: 2021-11-30 15:24\n"
+"PO-Revision-Date: 2021-12-22 14:10\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-21.12.0/src/org.kde.knights.appdata.xml 
new/knights-21.12.1/src/org.kde.knights.appdata.xml
--- old/knights-21.12.0/src/org.kde.knights.appdata.xml 2021-12-02 
22:31:44.000000000 +0100
+++ new/knights-21.12.1/src/org.kde.knights.appdata.xml 2022-01-03 
22:45:25.000000000 +0100
@@ -938,9 +938,9 @@
     <binary>knights</binary>
   </provides>
   <releases>
+    <release version="2.6.21121" date="2022-01-06"/>
+    <release version="2.6.21120" date="2021-12-09"/>
     <release version="2.6.21083" date="2021-11-04"/>
     <release version="2.6.21082" date="2021-10-07"/>
-    <release version="2.6.21081" date="2021-09-02"/>
-    <release version="2.6.21080" date="2021-08-12"/>
   </releases>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knights-21.12.0/src/proto/uciprotocol.cpp 
new/knights-21.12.1/src/proto/uciprotocol.cpp
--- old/knights-21.12.0/src/proto/uciprotocol.cpp       2021-12-02 
22:31:44.000000000 +0100
+++ new/knights-21.12.1/src/proto/uciprotocol.cpp       2022-01-03 
22:45:25.000000000 +0100
@@ -142,9 +142,11 @@
                        goString += QLatin1String(" binc ") + QString::number ( 
binc * 1000 );
 
                int moves = Manager::self()->timeControl ( NoColor ).moves;
-               int movesToGo = mMoveHistory.size() % moves;
-               if ( movesToGo > 0 )
-                       goString += QLatin1String(" movestogo ") + 
QString::number ( movesToGo );
+               if (moves > 0) {
+                       int movesToGo = mMoveHistory.size() % moves;
+                       if ( movesToGo > 0 )
+                               goString += QLatin1String(" movestogo ") + 
QString::number ( movesToGo );
+               }
        }
 
        write ( goString );

Reply via email to