[X2Go-Commits] [x2gobroker] 01/01: x2gobroker.spec: switch to python36 on EPEL 7.

git-admin at x2go.org git-admin at x2go.org
Mon Apr 22 05:53:02 CEST 2019


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

x2go pushed a commit to branch master
in repository x2gobroker.

commit 96c5903ac8d236077bbbeb595fe66147d221279f
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Mon Apr 22 05:52:41 2019 +0200

    x2gobroker.spec: switch to python36 on EPEL 7.
---
 debian/changelog | 1 +
 x2gobroker.spec  | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f2db0e3..e625fe2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,7 @@ x2gobroker (0.0.4.1-0x2go1) UNRELEASED; urgency=medium
     + Fix wsgi symlink location.
     + Also own %{_libexecdir}/x2gobroker (in wsgi package, for now).
     + Also own %{_libexecdir}/x2gobroker/wsgi (in wsgi package).
+    + Switch to python36 on EPEL 7.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Sun, 03 Feb 2019 03:57:46 +0100
 
diff --git a/x2gobroker.spec b/x2gobroker.spec
index 0fff418..b5c8727 100644
--- a/x2gobroker.spec
+++ b/x2gobroker.spec
@@ -17,13 +17,18 @@ Source2:        x2gobroker-authservice.init
 Source3:        x2gobroker-loadchecker.init
 Source4:        x2gobroker-rpmlintrc
 
-%if 0%{?el6} || 0%{?el7}
+%if 0%{?el7}
+BuildRequires:  python36-devel
+BuildRequires:  python36-setuptools
+%else
+%if 0%{?el6}
 BuildRequires:  python34-devel
 BuildRequires:  python34-setuptools
 %else
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 %endif
+%endif
 %if 0%{?suse_version}
 BuildRequires:  fdupes
 %endif

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list