[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli.spec: add support for EPEL5 and (older) SLE versions by using the BuildRoot tag.

git-admin at x2go.org git-admin at x2go.org
Wed Jun 15 19:29:36 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 8d36f31eee4cdb467e5c1a98698da23971a4c835
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Jun 15 19:29:30 2016 +0200

    pyhoca-cli.spec: add support for EPEL5 and (older) SLE versions by using the BuildRoot tag.
---
 debian/changelog |    3 +++
 pyhoca-cli.spec  |    7 +++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7dc2fed..52d0939 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,9 @@ pyhoca-cli (0.5.0.4-0x2go1) UNRELEASED; urgency=medium
   * New upstream version (0.5.0.4):
   * debian/control:
     - Maintainer change in package: X2Go Developers <x2go-dev at lists.x2go.org>.
+  * pyhoca-cli.spec:
+    - Add support for EPEL5 and (older) SLE versions by using the BuildRoot
+      tag.
 
  -- 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 18ca2de..5b67a62 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -24,6 +24,13 @@ Requires:       python-setproctitle
 Requires:       python-x2go >= 0.5.0.0
 Requires:       python-argparse
 
+%if 0%{?el5}
+# For compatibility with EPEL5
+BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+%else
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%endif
+
 %description
 X2Go is a server based computing environment with:
    - session resuming

--
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