[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli.spec: fix files section on older *SuSE variants.

git-admin at x2go.org git-admin at x2go.org
Thu Dec 19 01:13:05 CET 2019


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

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

commit 28249414669d5d889f04bd8aa4e768b6a08e7f79
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Dec 19 01:12:46 2019 +0100

    pyhoca-cli.spec: fix files section on older *SuSE variants.
---
 debian/changelog |  1 +
 pyhoca-cli.spec  | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0f44bea..6848d45 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ pyhoca-cli (0.6.1.2-0x2go1) UNRELEASED; urgency=medium
     + Actually change the hashbang of a file...
     + Fix building Python 2 variant on older *SuSE variants.
     + Also fix install phase for Python 2 variant on older *SuSE variants.
+    + Fix files section on older *SuSE variants.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Fri, 22 Nov 2019 15:26:45 +0100
 
diff --git a/pyhoca-cli.spec b/pyhoca-cli.spec
index 0e170ab..5fdbaa7 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -221,9 +221,20 @@ cp -rp man/* %{buildroot}/%{_mandir}/
 %doc COPYING README TODO
 %{_bindir}/%{name}
 %if 0%{?with_python2}
+%if 0%{?suse_version}
+%if ( 0%{?sle_version} && 0%{?sle_version} >= 120300 && 0%{?is_opensuse} ) || ( 0%{?suse_version} > 1500 )
+%{python2_sitelib}/pyhoca/
+%{python2_sitelib}/PyHoca_CLI*
+%pycache_only %{python2_sitelib}/__pycache__
+%else
+%{python_sitelib}/pyhoca/
+%{python_sitelib}/PyHoca_CLI*/
+%endif
+%else
 %{python2_sitelib}/pyhoca/
 %{python2_sitelib}/PyHoca_CLI*
 %endif
+%endif
 %if 0%{?with_python3}
 %{python3_sitelib}/pyhoca/
 %{python3_sitelib}/PyHoca_CLI*

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git


More information about the x2go-commits mailing list