- fixed previous fix for rhbz#220533
This commit is contained in:
parent
f869fd63b3
commit
4161e55016
11
units.spec
11
units.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A utility for converting amounts from one unit to another.
|
Summary: A utility for converting amounts from one unit to another.
|
||||||
Name: units
|
Name: units
|
||||||
Version: 1.86
|
Version: 1.86
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
@ -31,13 +31,13 @@ gzip $RPM_BUILD_ROOT%{_infodir}/units.info
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ "$1" = 0 ]; then
|
|
||||||
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir
|
/sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir
|
||||||
fi
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
/sbin/install-info %{_infodir}/units.info.gz --delete %{_infodir}/dir
|
if [ "$1" = 0 ]; then
|
||||||
|
/sbin/install-info %{_infodir}/units.info.gz --delete %{_infodir}/dir
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -48,6 +48,9 @@ exit 0
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com> - 1.86-2
|
||||||
- rhbz#220533
|
- rhbz#220533
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user