- fixed previous fix for rhbz#220533

This commit is contained in:
Harald Hoyer 2007-01-24 09:38:19 +00:00
parent f869fd63b3
commit 4161e55016

View File

@ -1,7 +1,7 @@
Summary: A utility for converting amounts from one unit to another.
Name: units
Version: 1.86
Release: 2%{?dist}
Release: 3%{?dist}
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
License: GPL
Group: Applications/Engineering
@ -31,13 +31,13 @@ gzip $RPM_BUILD_ROOT%{_infodir}/units.info
rm -rf $RPM_BUILD_ROOT
%post
if [ "$1" = 0 ]; then
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir
fi
exit 0
%preun
if [ "$1" = 0 ]; then
/sbin/install-info %{_infodir}/units.info.gz --delete %{_infodir}/dir
fi
exit 0
%files
@ -48,6 +48,9 @@ exit 0
%{_mandir}/man1/*
%changelog
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.86-3
- fixed previous fix for rhbz#220533
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com> - 1.86-2
- rhbz#220533