- protect install-info in %%post and %%preun (Ville Skytta) Resolves:

#223689
This commit is contained in:
Jens Petersen 2007-01-22 00:37:01 +00:00
parent dfb769889e
commit cab4ad9078
1 changed files with 6 additions and 3 deletions

View File

@ -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 <petersen@redhat.com> - 0.16.1-2
- protect install-info in %%post and %%preun (Ville Skytta, #223689)
* Fri Dec 22 2006 Jens Petersen <petersen@redhat.com> - 0.16.1-1
- update to 0.16.1