[gtk-vnc] Remove execute permission from example programs in RPM



commit 4c74e844210b0931b62eb640dc517bfca425ccb5
Author: Daniel P. Berrange <berrange redhat com>
Date:   Wed Sep 18 10:49:43 2013 +0100

    Remove execute permission from example programs in RPM
    
    Avoid getting pointless RPM deps by removing the execute
    permission from the example programs.
    
    Signed-off-by: Daniel P. Berrange <berrange redhat com>

 gtk-vnc.spec.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index d8f180b..ca07936 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -168,12 +168,14 @@ cp -a gtk-vnc-%{version} gtk-vnc2-%{version}
 cd gtk-vnc-%{version}
 %configure --with-gtk=2.0 %{gir_arg}
 %__make %{?_smp_mflags} V=1
+chmod -x examples/*.pl examples/*.js examples/*.py
 cd ..
 
 %if %{with_gtk3}
 cd gtk-vnc2-%{version}
 %configure --with-gtk=3.0 %{gir_arg}
 %__make %{?_smp_mflags} V=1
+chmod -x examples/*.pl examples/*.js examples/*.py
 cd ..
 %endif
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]