Accepting request 893117 from home:susnux:branches:games

- Update to version 6.2.8
  * Bug fixes in the input/output processing

OBS-URL: https://build.opensuse.org/request/show/893117
OBS-URL: https://build.opensuse.org/package/show/games/gnuchess?expand=0&rev=37
This commit is contained in:
Matej Cepl 2021-05-14 13:15:39 +00:00 committed by Git OBS Bridge
parent 021cdaaceb
commit 509d64775a
6 changed files with 28 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e536675a61abe82e61b919f6b786755441d9fcd4c21e1c82fb9e5340dd229846
size 802863

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAABCAAGBQJe02W9AAoJEEOsf/k87VprwusH/3hWyw+lqFoeoM3EAL7uuNTd
2aHzBKUJ9uJj+Z88Q3G47eOSsJQYpJR+eTJajQnrRe64V2Cr7dpxvU2s5ijqEDXv
lPs6MrUdhWVGSBag0p+SOikE9x6yo/+gJwILmlPCJ1iCjuTL/ZnE8MbIGGaKO2x9
xEg/qB+/tb7KsH/rMbDfeKqh9K2xHhnAdNPpSUBsPnAxLYdZRtKF9WdEuJnyKs+Z
LlJ7hps0bPQlJUdptJNmRubYSC2QTQtwACqzI3vOFnQ5hcqkMjyh+b886Z918czh
2rBV/AQsxwVKUwoeeM70BZve5+1A7W6LF8OFJja4ialSKqooUUgPtqmO6+/NWzc=
=NcWp
-----END PGP SIGNATURE-----

3
gnuchess-6.2.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d50446cda8012240321da39cddbb4df4d08458a8d538a4738882814139583847
size 804080

11
gnuchess-6.2.8.tar.gz.sig Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAABCAAGBQJgmAsIAAoJEEOsf/k87VprVEsH/jdhoKdbn0Z3aXJLIi3xKMx4
SyGpY4ZyOayMCjbszPOfNY2PoiT+AvU1mMmjsZYu+nDm/MAzaJl71iMNQXK7dkIn
0RnDIyP/Zkf4kjhtxn25AjPs7SBwqP5g7soHBAANDAKGQb3kfGRiRrk5hQQ4kIxe
rjFr/lO40QBd1OHPnXVV7+cVaHNAKtnOIUdibXE36a+IBcgCoDZGGVwylvSy/dLw
tglFZDcMvq98PN2yO0QSqN7WqMrq+IsaoP5UeLmsZWxhZfTm9BwkP1IDn1uyQLQk
7xC+hSWFANkOqjcPbYYNTaAHNYDnTLUn5okjcZNBtkKLYuTQZTZpJqhVnAHrxn0=
=GWC8
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 14 12:42:17 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 6.2.8
* Bug fixes in the input/output processing
-------------------------------------------------------------------
Thu Apr 8 20:46:21 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -17,21 +17,20 @@
Name: gnuchess
Version: 6.2.7
Version: 6.2.8
Release: 0
Summary: GNU Chess Program
License: GPL-3.0-or-later
Group: Amusements/Games/Board/Chess
URL: https://www.gnu.org/software/chess/
Source0: http://ftp.gnu.org/gnu/chess/%{name}-%{version}.tar.gz
Source0: https://ftp.gnu.org/gnu/chess/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/gnu/chess/%{name}-%{version}.tar.gz.sig
# WARNING: Don't forget to re-generate book.dat manually before submit!
# Simply remove the source and build, updated book will be generated.
Source1: book_1.02.pgn.bz2
#Source2: book.dat.bz2
Source2: book_1.02.pgn.bz2
Source3: genbook.sh
Source5: xgnuchess
Source6: http://ftp.gnu.org/gnu/chess/%{name}-%{version}.tar.gz.sig
Source7: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=chess&download=1#/gnuchess.keyring
Source4: xgnuchess
Source5: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=chess&download=1#/gnuchess.keyring
# PATCH-FIX-UPSTREAM txtJ07eHdR0m6.patch CVE-2021-30184 mcepl@suse.com
# https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html
# Patch from https://src.fedoraproject.org/rpms/gnuchess/c/bb2dd55d0daf.patch
@ -58,12 +57,12 @@ in the xboard package.
%configure
%make_build
sed -i 's/^Book[[:space:]]*=[[:space:]]*false/Book = true/;s/^OwnBook[[:space:]]=[[:space:]]*false/OwnBook = true/' src/gnuchess.ini
sh %{SOURCE3} %{SOURCE1}
sh %{SOURCE3} %{SOURCE2}
%install
%make_install
# install xgnuchess
install -m 755 %{SOURCE5} %{buildroot}/%{_bindir}
install -m 755 %{SOURCE4} %{buildroot}/%{_bindir}
%find_lang %{name}
%post