From cab4ad907873da0e6ee01bd3f822a45abd6c0235 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 22 Jan 2007 00:37:01 +0000 Subject: [PATCH] - protect install-info in %%post and %%preun (Ville Skytta) Resolves: #223689 --- gettext.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gettext.spec b/gettext.spec index ab6373f..b9581bf 100644 --- a/gettext.spec +++ b/gettext.spec @@ -1,7 +1,7 @@ Summary: GNU libraries and utilities for producing multi-lingual messages. Name: gettext Version: 0.16.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL/LGPL Group: Development/Tools Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz @@ -116,12 +116,12 @@ rm -rf ${RPM_BUILD_ROOT} %post /sbin/ldconfig -%{install_info} %{_infodir}/gettext.info.gz %{_infodir}/dir +%{install_info} %{_infodir}/gettext.info.gz %{_infodir}/dir || : %preun if [ "$1" = 0 ]; then - %{remove_install_info} %{_infodir}/gettext.info.gz %{_infodir}/dir + %{remove_install_info} %{_infodir}/gettext.info.gz %{_infodir}/dir || : fi exit 0 @@ -206,6 +206,9 @@ fi %changelog +* Mon Jan 22 2007 Jens Petersen - 0.16.1-2 +- protect install-info in %%post and %%preun (Ville Skytta, #223689) + * Fri Dec 22 2006 Jens Petersen - 0.16.1-1 - update to 0.16.1