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

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

commit 4dc0805c0e62ede54a1dedc87a16160b07b2f657
Author: Mihai Moldovan <io...@ionic.de>
Date:   Sat Aug 19 07:32:31 2023 +0200

    python-x2go.spec: correctly drop python-configparser BR on *SuSE if we're 
building against Python 3 only.
---
 debian/changelog | 2 ++
 python-x2go.spec | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ce5fe09..a1ba54a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ python-x2go (0.6.1.4-0x2go1) UNRELEASED; urgency=medium
     + 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.
+    + Correctly drop python-configparser BR on *SuSE if we're building against
+      Python 3 only.
 
  -- X2Go Release Manager <git-ad...@x2go.org>  Wed, 01 Jan 2020 20:25:50 +0100
 
diff --git a/python-x2go.spec b/python-x2go.spec
index ecc2733..56a8e4f 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -139,10 +139,12 @@ BuildRequires:  %{python_module xlib}
 %endif
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module simplejson}
-%if 0%{?suse_version} && 0%{?with_python2}
+%if 0%{?suse_version}
+%if 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
+%endif
 %else
 BuildRequires:  %{python_module configparser}
 %endif

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/python-x2go.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to