[X2Go-Commits] [pyhoca-gui] 01/01: pyhoca-gui.spec: backport *SuSE build fix from pyhoca-cli: make python-devel a build requirement even for Python-3-builds.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 24 05:45:53 CET 2019


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

x2go pushed a commit to branch master
in repository pyhoca-gui.

commit f132310c4047404d433e93725caab949beddc10f
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 24 05:45:36 2019 +0100

    pyhoca-gui.spec: backport *SuSE build fix from pyhoca-cli: make python-devel a build requirement even for Python-3-builds.
---
 debian/changelog | 2 ++
 pyhoca-gui.spec  | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 427676d..5b6a435 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,8 @@ pyhoca-gui (0.6.1.0-0x2go1) UNRELEASED; urgency=medium
     + Backport Python-2/3-selection fix from pyhoca-cli. Use a global variable
       to store and mangle the Python preferences and only use %bcond_with... X
       once later on.
+    + Backport *SuSE build fix from pyhoca-cli: make python-devel a build
+      requirement even for Python-3-builds.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 11 Dec 2019 12:47:21 +0100
 
diff --git a/pyhoca-gui.spec b/pyhoca-gui.spec
index 27cfb83..64f6a34 100644
--- a/pyhoca-gui.spec
+++ b/pyhoca-gui.spec
@@ -141,6 +141,11 @@ BuildRequires:  python-setuptools
 BuildRequires:  python-distutils-extra
 %endif
 %if 0%{?with_python3}
+%if 0%{?suse_version}
+# For some reason, even pure Python-3-builds need python-devel as a build
+# requirement. Not quite sure why, but builds are failing without it.
+BuildRequires:  python-devel
+%endif
 BuildRequires:  %{name_helper_python3}-devel
 BuildRequires:  %{name_helper_python3}-setuptools
 BuildRequires:  %{name_helper_python3}-distutils-extra

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


More information about the x2go-commits mailing list