This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository python-x2go. from b3782a1 python-x2go.spec: same for %{name_helper_python2}. new 27c2321 python-x2go.spec: macros with empty bodies are not allowed, define them to be %{nil}. new bfa8961 python-x2go.spec: don't override sections if the target name is python-x2go. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 2 ++ python-x2go.spec | 18 +++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit 27c232160dc846d599a92668416e70d1db8094c4 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Dec 18 08:26:53 2019 +0100 python-x2go.spec: macros with empty bodies are not allowed, define them to be %{nil}. --- debian/changelog | 1 + python-x2go.spec | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index e671322..2b7617d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ python-x2go (0.6.1.2-0x2go1) UNRELEASED; urgency=medium + Same thing as name_helper_python2 for Python 2 names. + Switch to actually using %{name_helper_python3}. + Same for %{name_helper_python2}. + + Macros with empty bodies are not allowed, define them to be %{nil}. -- X2Go Release Manager <git-admin@x2go.org> Fri, 22 Nov 2019 08:19:40 +0100 diff --git a/python-x2go.spec b/python-x2go.spec index c75ba10..93014a3 100644 --- a/python-x2go.spec +++ b/python-x2go.spec @@ -23,7 +23,7 @@ %global name_helper_python2 python2 %{?!python_module:%global python_module() python-%{**} python3-%{**}} %else -%global name_helper_python2 +%global name_helper_python2 %{nil} %{?!python_module:%global python_module() python3-%{**}} %endif %else @@ -33,7 +33,7 @@ %global name_helper_python2 python2 %{?!python_module:%global python_module() python-%{**} python%{python3_pkgversion}-%{**}} %else -%global name_helper_python2 +%global name_helper_python2 %{nil} %{?!python_module:%global python_module() python%{python3_pkgversion}-%{**}} %endif %else @@ -42,18 +42,18 @@ %global name_helper_python2 python %{?!python_module:%global python_module() python-%{**} python34-%{**}} %else -%global name_helper_python2 +%global name_helper_python2 %{nil} %{?!python_module:%global python_module() python34-%{**}} %endif %endif %endif %else -%global name_helper_python3 +%global name_helper_python3 %{nil} %if 0%{?with_python2} %global name_helper_python2 python %{?!python_module:%global python_module() python-%{**}} %else -%global name_helper_python2 +%global name_helper_python2 %{nil} %{?!python_module:%global python_module()} %endif %endif -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit bfa8961d0a45e9605d1852e24892c3e00ab62807 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed Dec 18 08:38:30 2019 +0100 python-x2go.spec: don't override sections if the target name is python-x2go. --- debian/changelog | 1 + python-x2go.spec | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2b7617d..632ed23 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ python-x2go (0.6.1.2-0x2go1) UNRELEASED; urgency=medium + Switch to actually using %{name_helper_python3}. + Same for %{name_helper_python2}. + Macros with empty bodies are not allowed, define them to be %{nil}. + + Don't override sections if the target name is python-x2go. -- X2Go Release Manager <git-admin@x2go.org> Fri, 22 Nov 2019 08:19:40 +0100 diff --git a/python-x2go.spec b/python-x2go.spec index 93014a3..568ff38 100644 --- a/python-x2go.spec +++ b/python-x2go.spec @@ -158,7 +158,9 @@ 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}" %package -n %{name_helper_python2}-x2go +%endif Summary: %{summary} Group: Development/Languages Requires: python-gevent @@ -175,6 +177,7 @@ Requires: python-configparser Requires: nxproxy %{?python_provide:%python_provide %{name_helper_python2}-x2go} +%if "%{name_helper_python2}" != "%{name}" %description -n %{name_helper_python2}-x2go X2Go is a server based computing environment with: - session resuming @@ -187,6 +190,7 @@ X2Go is a server based computing environment with: This Python module allows you to integrate X2Go client support into your Python applications by providing a Python-based X2Go client API. %endif +%endif %if 0%{?with_python3} @@ -302,7 +306,11 @@ python3 setup.py install --skip-build --root %{buildroot} %doc docs/build/html %if 0%{?with_python2} +%if "%{name_helper_python2}" == "%{name}" +%files +%else %files -n %{name_helper_python2}-x2go +%endif %defattr(-,root,root) %license COPYING %doc README* TODO -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git