[X2Go-Commits] [python-x2go] 02/02: python-x2go.spec: enable python3 builds on OpenSuSE 13.1+ and Fedora 20+.

git-admin at x2go.org git-admin at x2go.org
Fri Nov 30 03:16:20 CET 2018


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

x2go pushed a commit to branch master
in repository python-x2go.

commit 0a5a090f7cedcd74d0f240c172bc06b1dabb2b84
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Nov 30 03:15:22 2018 +0100

    python-x2go.spec: enable python3 builds on OpenSuSE 13.1+ and Fedora 20+.
---
 debian/changelog | 1 +
 python-x2go.spec | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2882374..4b4427a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ python-x2go (0.6.0.2-0x2go1) UNRELEASED; urgency=medium
     - misc: update copyright notices.
   * python-x2go.spec:
     - Fetch files under %{python(2)_sitelib} more fine-grained.
+    - Enable python3 builds on OpenSuSE 13.1+ and Fedora 20+.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 18 Sep 2018 21:17:35 +0200
 
diff --git a/python-x2go.spec b/python-x2go.spec
index d4919b5..f533f8c 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -1,5 +1,11 @@
-# Add conditional and disable by default.
+# Add conditional and ...
+%if 0%{?suse_version} > 1310 || 0%{?fedora_version} > 20
+# ... enable by default on newer distros.
+%bcond_without  python3
+%else
+# ... disable by default on older distros.
 %bcond_with     python3
+%endif
 
 # Provide a default implementation, essentially for non-*SuSE platforms.
 %if 0%{?with_python3} && ( ! ( 0%{?rhel} ) || 0%{?rhel} > 7 )

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


More information about the x2go-commits mailing list