[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli.spec: Adapt to building on openSUSE/SLES.

git-admin at x2go.org git-admin at x2go.org
Tue Oct 14 21:09:16 CEST 2014


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

x2go pushed a commit to branch master
in repository pyhoca-cli.

commit 682d0e409062c96bfd9d5948903e9f998b4f875d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Oct 14 21:09:10 2014 +0200

    pyhoca-cli.spec: Adapt to building on openSUSE/SLES.
---
 debian/changelog |    2 ++
 pyhoca-cli.spec  |    9 +++++++++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9211987..5bc1114 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ pyhoca-cli (0.5.0.0-0x2go1) UNRELEASED; urgency=low
     - Add cmdline options --backend-<*> to enforce usage of certain
       Python X2Go backends for session profile, settings, control session,
       terminal session, etc.
+  * pyhoca-cli.spec:
+    + Adapt to building on openSUSE/SLES.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Mon, 10 Mar 2014 15:56:42 +0100
 
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index f392063..8ee19ec 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -4,12 +4,20 @@ Release:        0.0x2go1%{?dist}
 Summary:        Command line X2Go client written in Python
 
 Group:          Applications/Communications
+%if 0%{?suse_version}
+License:        AGPL-3.0+
+%else
 License:        AGPLv3+
+%endif
 URL:            http://www.x2go.org/
 Source0:        http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
 
 BuildArch:      noarch
+%if 0%{?suse_version}
+BuildRequires:  python-devel
+%else
 BuildRequires:  python2-devel
+%endif
 BuildRequires:  python-setuptools
 Requires:       python-setproctitle
 Requires:       python-x2go
@@ -47,6 +55,7 @@ cp -rp man/* %{buildroot}/%{_mandir}/
 
 
 %files
+%defattr(-,root,root)
 %doc COPYING README TODO
 %{_bindir}/%{name}
 %{python_sitelib}/*

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git


More information about the x2go-commits mailing list