SPECS: graphviz.spec, graphviz-cairo.spec - umask in post/postun

qboosh qboosh at pld-linux.org
Mon Jul 25 22:42:22 CEST 2005


Author: qboosh                       Date: Mon Jul 25 20:42:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- umask in post/postun

---- Files affected:
SPECS:
   graphviz.spec (1.40 -> 1.41) , graphviz-cairo.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/graphviz.spec
diff -u SPECS/graphviz.spec:1.40 SPECS/graphviz.spec:1.41
--- SPECS/graphviz.spec:1.40	Mon Jul 25 22:17:11 2005
+++ SPECS/graphviz.spec	Mon Jul 25 22:42:17 2005
@@ -34,6 +34,7 @@
 BuildRequires:	tcl-devel >= 8.3.0
 BuildRequires:	tk-devel >= 8.3.0
 BuildRequires:	zlib-devel
+Requires(post,postun):	/sbin/ldconfig
 Requires:	gd >= 2.0.34
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -121,10 +122,12 @@
 
 %post
 /sbin/ldconfig
+umask 022
 [ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
 
 %postun
 /sbin/ldconfig
+umask 022
 [ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
 
 %files
@@ -169,6 +172,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2005/07/25 20:42:17  qboosh
+- umask in post/postun
+
 Revision 1.40  2005/07/25 20:17:11  arekm
 - run dot after upgrade/installation
 

================================================================
Index: SPECS/graphviz-cairo.spec
diff -u SPECS/graphviz-cairo.spec:1.4 SPECS/graphviz-cairo.spec:1.5
--- SPECS/graphviz-cairo.spec:1.4	Sat Jul 23 11:27:11 2005
+++ SPECS/graphviz-cairo.spec	Mon Jul 25 22:42:17 2005
@@ -51,9 +51,11 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
+umask 022
 [ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
 
 %postun
+umask 022
 [ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
 
 %files
@@ -66,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/07/25 20:42:17  qboosh
+- umask in post/postun
+
 Revision 1.4  2005/07/23 09:27:11  qboosh
 - cleanup, versioned BRs
 
================================================================

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




More information about the pld-cvs-commit mailing list