[X2Go-Commits] [python-x2go] 01/01: python-x2go.spec: OpenSuSE Leap 15 and TumbleWeed renamed python-xlib to python{2, 3}-python-xlib.

git-admin at x2go.org git-admin at x2go.org
Sat Jun 2 02:00:47 CEST 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 1ca6c7e76c4f3e1c7dd78859ccbc6a862513750f
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jun 2 02:00:24 2018 +0200

    python-x2go.spec: OpenSuSE Leap 15 and TumbleWeed renamed python-xlib to python{2,3}-python-xlib.
---
 debian/changelog |  2 ++
 python-x2go.spec | 12 ++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 58510a1..2ccc915 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium
     - Add dependency on the python-configparser backport. Makes at least part
       working with both Python 2 and 3.
     - Actually disable python3 builds on OpenSuSE.
+    - OpenSuSE Leap 15 and TumbleWeed renamed python-xlib to
+      python{2,3}-python-xlib.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Fri, 22 Sep 2017 14:15:05 +0200
 
diff --git a/python-x2go.spec b/python-x2go.spec
index c423967..a019051 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -49,7 +49,11 @@ BuildRequires:  %{python_module sphinx}
 BuildRequires:  %{python_module future}
 BuildRequires:  %{python_module gevent}
 BuildRequires:  %{python_module paramiko}
+%if 0%{?sle_version} && 0%{?sle_version} >= 150000 && 0%{?is_opensuse}
+BuildRequires:  %{python_module python-xlib}
+%else
 BuildRequires:  %{python_module xlib}
+%endif
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module simplejson}
 BuildRequires:  %{python_module configparser}
@@ -85,7 +89,11 @@ Summary:        %{summary}
 Group:          Development/Languages
 Requires:       python-gevent
 Requires:       python-paramiko >= 1.15.1
+%if 0%{?sle_version} && 0%{?sle_version} >= 150000 && 0%{?is_opensuse}
+Requires:       python-python-xlib
+%else
 Requires:       python-xlib
+%endif
 Requires:       python-requests
 Requires:       python-simplejson
 Requires:       python-future
@@ -116,7 +124,11 @@ Summary:        %{summary}
 Group:          Development/Languages
 Requires:       python3-gevent
 Requires:       python3-paramiko >= 1.15.1
+%if 0%{?sle_version} && 0%{?sle_version} >= 150000 && 0%{?is_opensuse}
+Requires:       python3-python-xlib
+%else
 Requires:       python3-xlib
+%endif
 Requires:       python3-requests
 Requires:       python3-simplejson
 Requires:       python3-future

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