SPECS: fatback.spec - fix-info-dir in post/postun

qboosh qboosh at pld-linux.org
Wed Jul 26 20:21:46 CEST 2006


Author: qboosh                       Date: Wed Jul 26 18:21:46 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix-info-dir in post/postun

---- Files affected:
SPECS:
   fatback.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/fatback.spec
diff -u SPECS/fatback.spec:1.2 SPECS/fatback.spec:1.3
--- SPECS/fatback.spec:1.2	Wed Jul 26 18:03:33 2006
+++ SPECS/fatback.spec	Wed Jul 26 20:21:41 2006
@@ -1,11 +1,10 @@
 # $Revision$, $Date$
-#
 Summary:	A forensic tool for recovering files from FAT file systems
 Summary(pl):	Narzędzie do odzyskiwania plików z partycji FAT
 Name:		fatback
 Version:	1.3
 Release:	1
-License:	GPL v2
+License:	GPL v2+
 Group:		Applications
 Source0:	http://dl.sourceforge.net/fatback/%{name}-%{version}.tar.gz
 # Source0-md5:	4f1beb13670a7eff5b66cff84e5fd42a
@@ -41,6 +40,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
@@ -54,9 +59,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/07/26 18:21:41  qboosh
+- fix-info-dir in post/postun
+
 Revision 1.2  2006/07/26 16:03:33  glen
 - unify sourceforge url
 
 Revision 1.1  2005/05/18 13:06:45  zbyniu
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fatback.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list