[X2Go-Commits] [x2goclient] 35/38: pyhoca-cli.spec: drop Python 2 support for OpenSuSE Leap 15.4+ and Tumbleweed (and ALP).

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 21:15:31 CET 2023


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

x2go pushed a commit to branch master
in repository x2goclient.

commit 79aad4b05dca6ca9fa36867d9a2828820f4f6422
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Aug 22 02:51:42 2023 +0200

    pyhoca-cli.spec: drop Python 2 support for OpenSuSE Leap 15.4+ and Tumbleweed (and ALP).
---
 debian/changelog | 1 +
 pyhoca-cli.spec  | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 358c80d3..77465248 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,7 @@ pyhoca-cli (0.6.1.3-0x2go1) UNRELEASED; urgency=medium
     + Change http:// to https:// links where appropriate.
   * pyhoca-cli.spec:
     + Change http:// to https:// links where appropriate.
+    + Drop Python 2 support for OpenSuSE Leap 15.4+ and Tumbleweed (and ALP).
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 26 Dec 2019 17:03:42 +0100
 
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index d46175aa..988c5e2c 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -8,8 +8,10 @@
 
 # Fedora 30 deprecated Python 2, 31 disabled support for building these
 # packages.
+# OpenSuSE Leap 15.4 seems to have dropped it, too, and it's certainly dead
+# for Tumbleweed and ALP.
 %global want_python2 1
-%if 0%{?fedora} >= 31
+%if 0%{?fedora} >= 31 || 0%{?suse_version} >= 1600 || 0%{?sle_version} >= 150400
 %global want_python2 0
 %endif
 

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