forked from pool/gnuchess
Accepting request 602727 from games
OBS-URL: https://build.opensuse.org/request/show/602727 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuchess?expand=0&rev=22
This commit is contained in:
commit
5f2b1a6a45
@ -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
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user