[tigervnc] Don't use shebang in vncserver script.
Tim Waugh
twaugh at fedoraproject.org
Wed Jul 24 16:30:53 UTC 2013
commit 04fed602af5f2efac79d4ea19ed703127a588992
Author: Tim Waugh <twaugh at redhat.com>
Date: Wed Jul 24 12:24:13 2013 +0100
Don't use shebang in vncserver script.
tigervnc-shebang.patch | 9 +++++++++
tigervnc.spec | 9 ++++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/tigervnc-shebang.patch b/tigervnc-shebang.patch
new file mode 100644
index 0000000..f76af87
--- /dev/null
+++ b/tigervnc-shebang.patch
@@ -0,0 +1,9 @@
+diff -up tigervnc-1.3.0/unix/vncserver.shebang tigervnc-1.3.0/unix/vncserver
+--- tigervnc-1.3.0/unix/vncserver.shebang 2013-07-24 12:22:34.962158378 +0100
++++ tigervnc-1.3.0/unix/vncserver 2013-07-24 12:22:41.593188190 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env perl
++#!/usr/bin/perl
+ #
+ # Copyright (C) 2009-2010 D. R. Commander. All Rights Reserved.
+ # Copyright (C) 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
diff --git a/tigervnc.spec b/tigervnc.spec
index d1af9c5..4eeae31 100644
--- a/tigervnc.spec
+++ b/tigervnc.spec
@@ -1,6 +1,6 @@
Name: tigervnc
Version: 1.3.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A TigerVNC remote display system
Group: User Interface/Desktops
@@ -45,6 +45,7 @@ Patch5: tigervnc-inetd-nowait.patch
Patch6: tigervnc-setcursor-crash.patch
Patch7: tigervnc-manpages.patch
Patch8: tigervnc-getmaster.patch
+Patch9: tigervnc-shebang.patch
%description
Virtual Network Computing (VNC) is a remote display system which
@@ -164,6 +165,9 @@ popd
# libvnc.so: don't use unexpected GetMaster function (bug #744881 again).
%patch8 -p1 -b .getmaster
+# Don't use shebang in vncserver script.
+%patch9 -p1 -b .shebang
+
%build
%ifarch sparcv9 sparc64 s390 s390x
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
@@ -331,6 +335,9 @@ fi
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Wed Jul 24 2013 Tim Waugh <twaugh at redhat.com> 1.3.0-3
+- Don't use shebang in vncserver script.
+
* Fri Jul 12 2013 Tim Waugh <twaugh at redhat.com> 1.3.0-2
- Renumbered patches.
- libvnc.so: don't use unexported GetMaster function (bug #744881 again).
More information about the scm-commits
mailing list