[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli.spec: SLE support: add --prefix to setup.py install call.
git-admin at x2go.org
git-admin at x2go.org
Wed Jun 15 19:56:41 CEST 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-cli.
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 52d0939..14392d4 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 5b67a62..1c4a33a 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 /srv/git/code.x2go.org/pyhoca-cli.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git
More information about the x2go-commits
mailing list