Accepting request 955855 from home:dimstar:Factory
- Only require info and call its macros on suse_version < 1550: in Tumbleweed, info handles its file via file triggers since Sep 2019. OBS-URL: https://build.opensuse.org/request/show/955855 OBS-URL: https://build.opensuse.org/package/show/games/gnuchess?expand=0&rev=40
This commit is contained in:
parent
d93ac041f8
commit
60cd405f30
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 18 12:34:45 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Only require info and call its macros on suse_version < 1550:
|
||||||
|
in Tumbleweed, info handles its file via file triggers since Sep
|
||||||
|
2019.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 31 15:57:21 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Sat Jul 31 15:57:21 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnuchess
|
# spec file for package gnuchess
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -36,8 +36,10 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun):info
|
Requires(preun):info
|
||||||
|
%endif
|
||||||
Suggests: xboard
|
Suggests: xboard
|
||||||
Provides: chess_backend
|
Provides: chess_backend
|
||||||
Provides: gchess
|
Provides: gchess
|
||||||
@ -61,11 +63,13 @@ sh %{SOURCE3} %{SOURCE2}
|
|||||||
install -m 755 %{SOURCE4} %{buildroot}/%{_bindir}
|
install -m 755 %{SOURCE4} %{buildroot}/%{_bindir}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1550
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS ChangeLog NEWS README TODO
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user