- scripts

This commit is contained in:
Florian La Roche 2007-01-23 13:46:43 +00:00
parent e97d80eef8
commit f869fd63b3

View File

@ -1,7 +1,7 @@
Summary: A utility for converting amounts from one unit to another.
Name: units
Version: 1.86
Release: 1
Release: 2%{?dist}
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
License: GPL
Group: Applications/Engineering
@ -31,10 +31,14 @@ 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
/sbin/install-info %{_infodir}/units.info.gz --delete %{_infodir}/dir
exit 0
%files
%defattr(-,root,root)
@ -44,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/*
%changelog
* Tue Jan 23 2007 Florian La Roche <laroche@redhat.com> - 1.86-2
- rhbz#220533
* Mon Nov 13 2006 Florian La Roche <laroche@redhat.com> - 1.86-1
- 1.86