diff --git a/gnuchess.changes b/gnuchess.changes index 2c630ea..7284e12 100644 --- a/gnuchess.changes +++ b/gnuchess.changes @@ -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 diff --git a/gnuchess.spec b/gnuchess.spec index c9418aa..a387137 100644 --- a/gnuchess.spec +++ b/gnuchess.spec @@ -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}