diff --git a/gnuchess.changes b/gnuchess.changes index 0c7134c..f518db3 100644 --- a/gnuchess.changes +++ b/gnuchess.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 18 12:34:45 UTC 2022 - Dominique Leuenberger + +- 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 diff --git a/gnuchess.spec b/gnuchess.spec index 2083719..d3a9f3a 100644 --- a/gnuchess.spec +++ b/gnuchess.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -36,8 +36,10 @@ BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: help2man BuildRequires: readline-devel +%if 0%{?suse_version} && 0%{?suse_version} < 1550 Requires(post): info Requires(preun):info +%endif Suggests: xboard Provides: chess_backend Provides: gchess @@ -61,11 +63,13 @@ sh %{SOURCE3} %{SOURCE2} install -m 755 %{SOURCE4} %{buildroot}/%{_bindir} %find_lang %{name} +%if 0%{?suse_version} && 0%{?suse_version} < 1550 %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%endif %files -f %{name}.lang %doc AUTHORS ChangeLog NEWS README TODO