[X2Go-Commits] [x2goclient] 14/94: pyhoca-cli.spec: SLE support: add --prefix to setup.py install call.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:06:20 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.6.1.0
in repository x2goclient.
commit 183ad7473f48351ac315c892a4bdef394bb5e898
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Jun 15 19:41:56 2016 +0200
pyhoca-cli.spec: SLE support: add --prefix to setup.py install call.
Otherwise, data will land in /usr/local/.
---
debian/changelog | 2 ++
pyhoca-cli.spec | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 52d09390..14392d4e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ pyhoca-cli (0.5.0.4-0x2go1) UNRELEASED; urgency=medium
* pyhoca-cli.spec:
- Add support for EPEL5 and (older) SLE versions by using the BuildRoot
tag.
+ - SLE support: add --prefix to setup.py install call. Otherwise, data will
+ land in /usr/local/.
-- X2Go Release Manager <git-admin at x2go.org> Thu, 28 Jan 2016 21:24:29 +0100
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index 5b67a625..1c4a33ac 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -55,7 +55,7 @@ on desktops and thin clients.
%install
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install -O1 --skip-build --prefix %{_prefix} --root %{buildroot}
mkdir -p %{buildroot}/%{_bindir}/
cp -p %{name} %{buildroot}/%{_bindir}/
mkdir -p %{buildroot}/%{_mandir}/
--
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