[X2Go-Commits] [python-x2go] 01/02: python-x2go.spec: correctly check for existance of %{python2_version}.
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 1 10:02:13 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit 8f3f3405544bd81f29420b4b659f265375e6324a
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Jan 1 09:53:30 2020 +0100
python-x2go.spec: correctly check for existance of %{python2_version}.
---
debian/changelog | 1 +
python-x2go.spec | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 6c0a869..bb5846f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ python-x2go (0.6.1.3-0x2go1) UNRELEASED; urgency=medium
+ Fix condition in doc build.
+ Reflow comments (only).
+ Also use the same detection mechanism for sphinx-build.
+ + Correctly check for existance of %{python2_version}.
-- 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 7df8f0b..60db7f0 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -283,7 +283,7 @@ make -f Makefile.docupload docbuild SPHINX_APIDOC='sphinx-apidoc-%{python3_versi
sphinx_apidoc_bin='sphinx-apidoc'
sphinx_build_bin='sphinx-build'
sphinx_bin_guessed='0'
-if [ -n '%{python2_version}' ]; then
+if [ -n '%{?python2_version}' ]; then
if [ -x "/usr/bin/${sphinx_apidoc_bin}-%{python2_version}" ]; then
sphinx_apidoc_bin="/usr/bin/${sphinx_apidoc_bin}-%{python2_version}"
sphinx_build_bin="/usr/bin/${sphinx_build_bin}-%{python2_version}"
--
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