This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to annotated tag 0.6.1.2
in repository x2goclient.

commit 6f970b8eddfb691c8ac8bfe455b9ad1e4c80dc84
Author: Mihai Moldovan <io...@ionic.de>
Date:   Wed Dec 18 21:02:49 2019 +0100

    pyhoca-cli.spec: replace hashbang with version determined by name helper.
---
 debian/changelog | 1 +
 pyhoca-cli.spec  | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 670a0933..9c878605 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ pyhoca-cli (0.6.1.2-0x2go1) UNRELEASED; urgency=medium
       ever build for one variant.
     + Use %{?with_pythonX} and %{name_helper_pythonX} macros. Also fixes
       running against nightly versions of python-x2go.
+    + Replace hashbang with version determined by name helper.
 
  -- X2Go Release Manager <git-ad...@x2go.org>  Fri, 22 Nov 2019 15:26:45 +0100
 
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index 73a07cdc..b9501f10 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -152,6 +152,12 @@ on desktops and thin clients.
 
 %prep
 %setup -q
+%if 0%{?with_python2}
+sed -i -e '1s@^#/usr/bin/python3@/usr/bin/%{name_helper_python2}@'
+%endif
+%if 0%{?with_python3}
+sed -i -e '1s@^#/usr/bin/python3@/usr/bin/%{name_helper_python3}@'
+%endif
 
 
 %build

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to