[X2Go-Commits] [x2goclient] 29/94: pyhoca-cli.spec: Adapt to PyHoca-CLI's Python3 port.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:06:27 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.6.1.0
in repository x2goclient.
commit b427400d1ec9a0e5de1cbb721bfa3aaf7c726446
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Sep 25 12:52:50 2017 +0200
pyhoca-cli.spec: Adapt to PyHoca-CLI's Python3 port.
---
pyhoca-cli.spec | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index c87acb99..2d860936 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -1,5 +1,5 @@
Name: pyhoca-cli
-Version: 0.5.0.5
+Version: 0.5.99.0
Release: 0.0x2go1%{?dist}
Summary: Command line X2Go client written in Python
@@ -13,23 +13,16 @@ URL: http://www.x2go.org/
Source0: http://code.x2go.org/releases/source/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: python3-devel
%if 0%{?suse_version}
-BuildRequires: python-devel
BuildRequires: fdupes
-%else
-BuildRequires: python2-devel
%endif
-BuildRequires: python-setuptools
-Requires: python-setproctitle
-Requires: python-x2go >= 0.5.0.0
-Requires: python-argparse
+BuildRequires: python3-setuptools
+Requires: python3-setproctitle
+Requires: python3-x2go >= 0.5.99.0
+Requires: python3-argparse
-%if 0%{?el5}
-# For compatibility with EPEL5
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-%else
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%endif
%description
X2Go is a server based computing environment with:
@@ -51,11 +44,11 @@ on desktops and thin clients.
%build
-%{__python} setup.py build
+%{__python3} setup.py build
%install
-%{__python} setup.py install -O1 --skip-build --prefix %{_prefix} --root %{buildroot}
+%{__python3} setup.py install -O1 --skip-build --prefix %{_prefix} --root %{buildroot}
mkdir -p %{buildroot}/%{_bindir}/
cp -p %{name} %{buildroot}/%{_bindir}/
mkdir -p %{buildroot}/%{_mandir}/
@@ -69,7 +62,7 @@ cp -rp man/* %{buildroot}/%{_mandir}/
%defattr(-,root,root)
%doc COPYING README TODO
%{_bindir}/%{name}
-%{python_sitelib}/*
+%{python3_sitelib}/*
%{_mandir}/man1/%{name}.1*
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list