[X2Go-Commits] [python-x2go] 01/01: python-x2go: fix name checks.
git-admin at x2go.org
git-admin at x2go.org
Wed Dec 18 09:50:06 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 8c5371b870d0a02ae41e70eed3ccaa21cd661de4
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Dec 18 09:49:18 2019 +0100
python-x2go: fix name checks.
---
debian/changelog | 1 +
python-x2go.spec | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 217a023..18513d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,7 @@ python-x2go (0.6.1.2-0x2go1) UNRELEASED; urgency=medium
+ Macros with empty bodies are not allowed, define them to be %{nil}.
+ Don't override sections if the target name is python-x2go.
+ Fix syntax error.
+ + Fix name checks.
-- X2Go Release Manager <git-admin at x2go.org> Fri, 22 Nov 2019 08:19:40 +0100
diff --git a/python-x2go.spec b/python-x2go.spec
index 7345934..43c7921 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -158,7 +158,7 @@ This Python module allows you to integrate X2Go client support into your
Python applications by providing a Python-based X2Go client API.
%if 0%{?with_python2}
-%if "%{name_helper_python2}" != "%{name}"
+%if "%{name_helper_python2}-x2go" != "%{name}"
%package -n %{name_helper_python2}-x2go
%endif
Summary: %{summary}
@@ -177,7 +177,7 @@ Requires: python-configparser
Requires: nxproxy
%{?python_provide:%python_provide %{name_helper_python2}-x2go}
-%if "%{name_helper_python2}" != "%{name}"
+%if "%{name_helper_python2}-x2go" != "%{name}"
%description -n %{name_helper_python2}-x2go
X2Go is a server based computing environment with:
- session resuming
@@ -306,7 +306,7 @@ python3 setup.py install --skip-build --root %{buildroot}
%doc docs/build/html
%if 0%{?with_python2}
-%if "%{name_helper_python2}" == "%{name}"
+%if "%{name_helper_python2}-x2go" == "%{name}"
%files
%else
%files -n %{name_helper_python2}-x2go
--
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