Accepting request 602389 from home:1Antoine1:branches:games
- 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. OBS-URL: https://build.opensuse.org/request/show/602389 OBS-URL: https://build.opensuse.org/package/show/games/gnuchess?expand=0&rev=27
This commit is contained in:
parent
ecffa08760
commit
193df71fd4
@ -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
|
Tue Jul 25 15:05:15 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnuchess
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -38,7 +38,7 @@ BuildRequires: gettext-devel
|
|||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun): info
|
Requires(preun): info
|
||||||
Recommends: xboard
|
Suggests: xboard
|
||||||
Provides: chess_backend
|
Provides: chess_backend
|
||||||
Provides: gchess
|
Provides: gchess
|
||||||
|
|
||||||
@ -65,14 +65,11 @@ install -m 755 %{SOURCE5} %{buildroot}/%{_bindir}
|
|||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ] ; then
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
if [ -f %{_infodir}/%{name}.info.gz ] ; then
|
|
||||||
%install_info --info-dir=%{_infodir} --delete %{_infodir}/%{name}.info.gz
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
|
%license COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
%{_infodir}/gnuchess.info%{ext_info}
|
%{_infodir}/gnuchess.info%{ext_info}
|
||||||
|
Loading…
Reference in New Issue
Block a user