[X2Go-Commits] [pyhoca-gui] 01/01: pyhoca-gui.spec: backport build fix from pyhoca-cli: stage pycache files into a subdir on newer *SuSE versions.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 24 18:36:09 CET 2019


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

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

commit 1947fc4678e45a2d719520b9c589e7e91b7189f5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 24 18:35:16 2019 +0100

    pyhoca-gui.spec: backport build fix from pyhoca-cli: stage pycache files into a subdir on newer *SuSE versions.
---
 debian/changelog | 2 ++
 pyhoca-gui.spec  | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6df4ea6..808ea71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,8 @@ pyhoca-gui (0.6.1.0-0x2go1) UNRELEASED; urgency=medium
       in comment lines.
     + Backport build fix from pyhoca-cli: fix another unescaped macro in
       comment.
+    + Backport build fix from pyhoca-cli: stage pycache files into a subdir
+      on newer *SuSE versions.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 11 Dec 2019 12:47:21 +0100
 
diff --git a/pyhoca-gui.spec b/pyhoca-gui.spec
index 893345d..d997a53 100644
--- a/pyhoca-gui.spec
+++ b/pyhoca-gui.spec
@@ -315,10 +315,14 @@ fi
 %{python3_sitelib}/PyHoca_GUI*
 %if 0%{?suse_version}
 %if ( 0%{?sle_version} && 0%{?sle_version} >= 120300 && 0%{?is_opensuse} ) || ( 0%{?suse_version} > 1500 )
+%if 0%{?sle_version} > 150000
+%pycache_only %{python3_sitelib}/pyhoca/wxgui/__pycache__
+%else
 %pycache_only %{python3_sitelib}/__pycache__
 %endif
 %endif
 %endif
+%endif
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/PyHoca/
 %{_datadir}/pixmaps/pyhoca_x2go-logo-ubuntu.svg

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


More information about the x2go-commits mailing list