[shogun/el5] make sure all files in examples have mode 0644

Björn Esser besser82 at fedoraproject.org
Mon Feb 24 16:58:12 UTC 2014


commit c5d128664cdd268ee702574805164ad357a81fc7
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Mon Feb 24 17:58:24 2014 +0100

    make sure all files in examples have mode 0644

 shogun.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shogun.spec b/shogun.spec
index 6968705..51e53e9 100644
--- a/shogun.spec
+++ b/shogun.spec
@@ -846,6 +846,9 @@ do
   ln -fs %{_datadir}/%{name}/data/toy doc/examples/${_dir}/data
 done
 
+# Make sure all files in examples have mode 0644.
+find doc/examples -depth -type f | xargs -0 chmod 0644
+
 ###############################################################################
 
 %check


More information about the scm-commits mailing list