- properly delete info file on preun
This commit is contained in:
parent
81b709d45e
commit
b83638713f
@ -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: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
|
||||||
URL: http://www.gnu.org/software/units/units.html
|
URL: http://www.gnu.org/software/units/units.html
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -40,7 +40,7 @@ exit 0
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
/sbin/install-info %{_infodir}/units.info.gz --delete %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/units.info.gz %{_infodir}/dir
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@ -53,6 +53,9 @@ exit 0
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 05 2007 Florian La Roche <laroche@redhat.com>
|
||||||
|
- fix preun script to properly remove the info file
|
||||||
|
|
||||||
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 1.86-5%{?dist}
|
* Fri Mar 23 2007 Harald Hoyer <harald@redhat.com> - 1.86-5%{?dist}
|
||||||
- more specfile cleanups
|
- more specfile cleanups
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user