[X2Go-Commits] [python-x2go] 01/01: python-x2go.spec: fix package names in %package (and its %description) and %files sections.

git-admin at x2go.org git-admin at x2go.org
Sat Jun 2 01:11:23 CEST 2018


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

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

commit e3d2245079ed8a97f218edf0be97dde6ebe8d81c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jun 2 01:11:06 2018 +0200

    python-x2go.spec: fix package names in %package (and its %description) and %files sections.
---
 debian/changelog | 1 +
 python-x2go.spec | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5d9bc20..1c02d34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium
       want to disable the Python 3 package for now. For EPEL/RHEL versions
       lower than 8, we strip Python 3 stuff out completely and rename the
       package to python-x2go.
+    - Fix package names in %package (and its %description) and %files sections.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Fri, 22 Sep 2017 14:15:05 +0200
 
diff --git a/python-x2go.spec b/python-x2go.spec
index 24941cc..732f17b 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -72,9 +72,9 @@ This package contains the Python X2Go client API documentation.
 
 # Let's assume that RHEL/EPEL 8 finally introduce proper Python 3 support...
 %if 0%{?rhel} && 0%{?rhel} < 8
-%package -n python2-x2go
+%package
 %else
-%package -n python-x2go
+%package -n python2-x2go
 %endif
 Summary:        %{summary}
 Group:          Development/Languages
@@ -88,7 +88,7 @@ Requires:       nxproxy
 %{?python_provide:%python_provide python2-x2go}
 
 %if 0%{?rhel} && 0%{?rhel} < 8
-%description -n python-x2go
+%description
 %else
 %description -n python2-x2go
 %endif
@@ -194,7 +194,7 @@ python3 setup.py install --skip-build --root %{buildroot}
 %doc docs/build/html
 
 %if 0%{?rhel} && 0%{?rhel} < 8
-%files -n python-x2go
+%files
 %else
 %files -n python2-x2go
 %endif

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