SHA256
1
0
forked from pool/gnuchess
Dominique Leuenberger 2018-05-02 10:16:53 +00:00 committed by Git OBS Bridge
commit 5f2b1a6a45
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Apr 28 10:18:31 UTC 2018 - antoine.belvire@opensuse.org
- Only suggest xboard, don't recommend it.
- Use %license instead of %doc for license file (boo#1082318).
- Use %install_info_delete macro instead of rewriting it.
-------------------------------------------------------------------
Tue Jul 25 15:05:15 UTC 2017 - astieger@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gnuchess
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -38,7 +38,7 @@ BuildRequires: gettext-devel
BuildRequires: readline-devel
Requires(post): info
Requires(preun): info
Recommends: xboard
Suggests: xboard
Provides: chess_backend
Provides: gchess
@ -65,14 +65,11 @@ install -m 755 %{SOURCE5} %{buildroot}/%{_bindir}
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun
if [ $1 = 0 ] ; then
if [ -f %{_infodir}/%{name}.info.gz ] ; then
%install_info --info-dir=%{_infodir} --delete %{_infodir}/%{name}.info.gz
fi
fi
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%files -f %{name}.lang
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%doc AUTHORS ChangeLog NEWS README TODO
%license COPYING
%{_bindir}/*
%{_mandir}/man*/*
%{_infodir}/gnuchess.info%{ext_info}