Branch: master

8ce4c47a 2014-11-11 15:24:30 François Andriot
RPM packaging: update tdenetwork
M redhat/main/tdenetwork/tdenetwork-14.0.0.spec
diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
index 22933e5..5a12bae 100644
--- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
+++ b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
@@ -1296,7 +1296,9 @@
 %endif
 
 # Remove setuid bit on some binaries.
-chmod 0755 "%{?buildroot}%{tde_bindir}/kppp"
+if [ -r "%{?buildroot}%{tde_bindir}/kppp" ]; then
+  chmod 0755 "%{?buildroot}%{tde_bindir}/kppp"
+fi
 
 # ktalk
 %__install -p -m 0644 -D  %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk