[X2Go-Commits] [python-x2go] 01/01: python-x2go.spec: fix condition in doc build.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 31 21:20:13 CET 2019


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

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

commit 84a6e51a9d75f23b4386594710787f811986d7e0
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 31 21:19:54 2019 +0100

    python-x2go.spec: fix condition in doc build.
---
 debian/changelog | 1 +
 python-x2go.spec | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 625a28e..8a42bef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ python-x2go (0.6.1.3-0x2go1) UNRELEASED; urgency=medium
       sphinx-apidoc-%{python2_version}, sphinx-apidoc-2 or just defaulting to
       sphinx-apidoc (and hoping very hard that this is actually the
       Python-2-version).
+    + Fix condition in doc build.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Thu, 26 Dec 2019 10:37:02 +0100
 
diff --git a/python-x2go.spec b/python-x2go.spec
index 121dc07..7316b44 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -269,7 +269,7 @@ python3 setup.py build
 # with_python3
 
 # Build the docs
-%if %{?with_python3}
+%if 0%{?with_python3}
 # If we build for Python 3, let's assume that the binary always includes the python 3 version.
 make -f Makefile.docupload docbuild SPHINX_APIDOC='sphinx-apidoc-%{python3_version}'
 %else

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