From 57bda953b47de0e6bc729efffe75fd9518f2e9aa Mon Sep 17 00:00:00 2001 From: Nikola Forró Date: Jun 19 2018 15:51:35 +0000 Subject: remove install-info from scriptlets --- diff --git a/aspell.spec b/aspell.spec index 207518f..e3a4c57 100644 --- a/aspell.spec +++ b/aspell.spec @@ -1,7 +1,7 @@ Summary: Spell checker Name: aspell Version: 0.60.6.1 -Release: 21%{?dist} +Release: 22%{?dist} Epoch: 12 # LGPLv2+ .. common/gettext.h # LGPLv2 .. modules/speller/default/phonet.hpp, @@ -31,8 +31,6 @@ Patch8: aspell-0.60.6.1-fix-back-on-empty-vector.patch BuildRequires: gcc-c++ BuildRequires: chrpath, gettext, ncurses-devel, pkgconfig, perl-interpreter -Requires(pre): /sbin/install-info -Requires(preun): /sbin/install-info %description GNU Aspell is a spell checker designed to eventually replace Ispell. It can @@ -49,8 +47,6 @@ Summary: Libraries and header files for Aspell development Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: pkgconfig -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info %description devel The aspell-devel package includes libraries @@ -106,28 +102,6 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/aspell-import.1 %post /sbin/ldconfig -if [ -f %{_infodir}/aspell.info.gz ]; then - /sbin/install-info %{_infodir}/aspell.info.gz %{_infodir}/dir --entry="* Aspell: (aspell). " || : -fi - -%post devel -if [ -f %{_infodir}/aspell-dev.info.gz ]; then - /sbin/install-info %{_infodir}/aspell-dev.info.gz %{_infodir}/dir --entry="* Aspell-dev: (aspell-dev). " || : -fi - -%preun -if [ $1 = 0 ]; then - if [ -f %{_infodir}/aspell.info.gz ]; then - /sbin/install-info --delete %{_infodir}/aspell.info.gz %{_infodir}/dir || : - fi -fi - -%preun devel -if [ $1 = 0 ]; then - if [ -f %{_infodir}/aspell-dev.info.gz ]; then - /sbin/install-info --delete %{_infodir}/aspell-dev.info.gz %{_infodir}/dir || : - fi -fi %postun -p /sbin/ldconfig @@ -159,6 +133,9 @@ fi %{_mandir}/man1/pspell-config.1* %changelog +* Tue Jun 19 2018 Nikola Forró - 12:0.60.6.1-22 +- remove install-info from scriptlets + * Wed Apr 04 2018 Nikola Forró - 12:0.60.6.1-21 - resolves: #1562364 do not call back() on an empty vector