[X2Go-Commits] [x2goclient] 12/25: pyhoca-cli.spec: use %{name} instead of hardcoding the string in %prep.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:07:16 CET 2023
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 5211c8b9439675eec244be161dbc193761794338
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Dec 20 10:04:18 2019 +0100
pyhoca-cli.spec: use %{name} instead of hardcoding the string in %prep.
---
debian/changelog | 1 +
pyhoca-cli.spec | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 778ff1ab..d95a7d67 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ pyhoca-cli (0.6.1.2-0x2go1) UNRELEASED; urgency=medium
+ Also fix install phase for Python 2 variant on older *SuSE variants.
+ Fix files section on older *SuSE variants.
+ Fix files section on older *SuSE variants again, remove faulty slash.
+ + Use %{name} instead of hardcoding the string in %prep.
-- X2Go Release Manager <git-admin at x2go.org> Fri, 22 Nov 2019 15:26:45 +0100
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index ae13cf55..e79bea21 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -153,10 +153,10 @@ on desktops and thin clients.
%prep
%setup -q
%if 0%{?with_python2}
-sed -i -e '1s@^#/usr/bin/python3@/usr/bin/%{name_helper_python2}@' 'pyhoca-cli'
+sed -i -e '1s@^#/usr/bin/python3@/usr/bin/%{name_helper_python2}@' '%{name}'
%endif
%if 0%{?with_python3}
-sed -i -e '1s@^#/usr/bin/python3@/usr/bin/%{name_helper_python3}@' 'pyhoca-cli'
+sed -i -e '1s@^#/usr/bin/python3@/usr/bin/%{name_helper_python3}@' '%{name}'
%endif
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list