SPECS: graphviz.spec - run dot after upgrade/installation

arekm arekm at pld-linux.org
Mon Jul 25 22:17:16 CEST 2005


Author: arekm                        Date: Mon Jul 25 20:17:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- run dot after upgrade/installation

---- Files affected:
SPECS:
   graphviz.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/graphviz.spec
diff -u SPECS/graphviz.spec:1.39 SPECS/graphviz.spec:1.40
--- SPECS/graphviz.spec:1.39	Sat Jul 23 11:06:18 2005
+++ SPECS/graphviz.spec	Mon Jul 25 22:17:11 2005
@@ -119,8 +119,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+[ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
+
+%postun
+/sbin/ldconfig
+[ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
 
 %files
 %defattr(644,root,root,755)
@@ -164,6 +169,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2005/07/25 20:17:11  arekm
+- run dot after upgrade/installation
+
 Revision 1.39  2005/07/23 09:06:18  qboosh
 - configure cleanup, BRs for bindings (TODO: separate them)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/graphviz.spec?r1=1.39&r2=1.40&f=u




More information about the pld-cvs-commit mailing list