devel/units units.spec,1.22,1.23

Florian La Roche (laroche) fedora-extras-commits at redhat.com
Thu Jul 5 08:18:24 UTC 2007


Author: laroche

Update of /cvs/extras/devel/units
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5378

Modified Files:
	units.spec 
Log Message:
- properly delete info file on preun



Index: units.spec
===================================================================
RCS file: /cvs/extras/devel/units/units.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- units.spec	23 Mar 2007 13:37:45 -0000	1.22
+++ units.spec	5 Jul 2007 08:17:40 -0000	1.23
@@ -1,7 +1,7 @@
 Summary: A utility for converting amounts from one unit to another
 Name: units
 Version: 1.86
-Release: 5%{?dist}
+Release: 6%{?dist}
 Source: ftp://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz
 URL: http://www.gnu.org/software/units/units.html
 License: GPL
@@ -40,7 +40,7 @@
 
 %preun
 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
 exit 0
 
@@ -53,6 +53,9 @@
 %{_mandir}/man1/*
 
 %changelog
+* Thu Jul 05 2007 Florian La Roche <laroche at redhat.com>
+- fix preun script to properly remove the info file
+
 * Fri Mar 23 2007 Harald Hoyer <harald at redhat.com> - 1.86-5%{?dist}
 - more specfile cleanups
 




More information about the scm-commits mailing list