[X2Go-Commits] [python-x2go] 01/01: python-x2go.spec: only BR python-configparser on *SuSE, if we actually build a Python 2 variant.

git-admin at x2go.org git-admin at x2go.org
Sat Aug 19 06:46:57 CEST 2023


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

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

commit 24142ae3d4f3cd135be974a0a468bf30b7afcd3c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Aug 19 06:46:44 2023 +0200

    python-x2go.spec: only BR python-configparser on *SuSE, if we actually build a Python 2 variant.
---
 debian/changelog | 2 ++
 python-x2go.spec | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 92ee033..ce5fe09 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ python-x2go (0.6.1.4-0x2go1) UNRELEASED; urgency=medium
     - misc: pre-release copyright update.
   * python-x2go.spec:
     + Drop Python 2 support for OpenSuSE Leap 15.4+ and Tumbleweed (and ALP).
+    + Only BR python-configparser on *SuSE, if we actually build a Python 2
+      variant.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Wed, 01 Jan 2020 20:25:50 +0100
 
diff --git a/python-x2go.spec b/python-x2go.spec
index ba8b327..ecc2733 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -139,7 +139,7 @@ BuildRequires:  %{python_module xlib}
 %endif
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module simplejson}
-%if 0%{?suse_version}
+%if 0%{?suse_version} && 0%{?with_python2}
 # On *SuSE, we don't have a python3 configparser module, probably because
 # it's part of the standard distribution anyway.
 BuildRequires:  python-configparser

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