SPECS: msmtp.spec - run fix-info-dir in postun as well - don't pac...

qboosh qboosh at pld-linux.org
Fri Jul 15 09:23:01 CEST 2005


Author: qboosh                       Date: Fri Jul 15 07:23:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- run fix-info-dir in postun as well
- don't package info/dir, it's autogenerated and belongs to fix-info-dir

---- Files affected:
SPECS:
   msmtp.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/msmtp.spec
diff -u SPECS/msmtp.spec:1.45 SPECS/msmtp.spec:1.46
--- SPECS/msmtp.spec:1.45	Fri Jul 15 09:05:01 2005
+++ SPECS/msmtp.spec	Fri Jul 15 09:22:56 2005
@@ -74,20 +74,21 @@
 
 %find_lang %{name}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README THANKS doc/msmtprc-{system,user}.example
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/msmtp*
-#%lang(pl) %{_mandir}/pl/man1/msmtp*
 %{_infodir}/msmtp*
-%{_datadir}/info/dir*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -95,6 +96,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2005/07/15 07:22:56  qboosh
+- run fix-info-dir in postun as well
+- don't package info/dir, it's autogenerated and belongs to fix-info-dir
+
 Revision 1.45  2005/07/15 07:05:01  glen
 - proper use of find_lang macro
 - don't assume info/dir is compresssed (should it be packaged afterall?)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/msmtp.spec?r1=1.45&r2=1.46&f=u




More information about the pld-cvs-commit mailing list