- scripts
This commit is contained in:
parent
e97d80eef8
commit
f869fd63b3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user