[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli.spec: hopefully fix builds on *SuSE: even pure Python-3-builds need python-devel as a build requirement (only)... for some weird reason.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 24 05:44:18 CET 2019


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

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

commit 9e3be6547ecd3e324cbd12688c13e806fc1bce4f
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 24 05:44:00 2019 +0100

    pyhoca-cli.spec: hopefully fix builds on *SuSE: even pure Python-3-builds need python-devel as a build requirement (only)... for some weird reason.
---
 debian/changelog | 2 ++
 pyhoca-cli.spec  | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e8df0eb..63e8795 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ pyhoca-cli (0.6.1.2-0x2go1) UNRELEASED; urgency=medium
       correct value. Hence, use a global variable to store and mangle the
       preferences and only use %bcond_... X later once.
     + Fix typo in Python-2-Requires: line: random % char.
+    + Hopefully fix builds on *SuSE: even pure Python-3-builds need
+      python-devel as a build requirement (only)... for some weird reason.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Fri, 22 Nov 2019 15:26:45 +0100
 
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index e668697..fc2e45c 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -142,6 +142,11 @@ Requires:       python-setproctitle
 Requires:       %{name_helper_python2}-x2go >= 0.6.1.0
 %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
 Requires:       %{name_helper_python3}-setproctitle

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


More information about the x2go-commits mailing list