[X2Go-Commits] [pyhoca-gui] 01/01: pyhoca-gui.spec: backport build fix from pyhoca-cli: also apply pycache changes to Tumbleweed, which seems to not get caught by %{sle_version}.

git-admin at x2go.org git-admin at x2go.org
Tue Dec 24 19:14:29 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 400838d56e88065e6e962788be84d2a8d1ae5e2a
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Dec 24 19:14:02 2019 +0100

    pyhoca-gui.spec: backport build fix from pyhoca-cli: also apply pycache changes to Tumbleweed, which seems to not get caught by %{sle_version}.
---
 debian/changelog | 2 ++
 pyhoca-gui.spec  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 277ea3b..b74777a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -58,6 +58,8 @@ pyhoca-gui (0.6.1.0-0x2go1) UNRELEASED; urgency=medium
       on newer *SuSE versions.
     + Backport build fix from pyhoca-cli: actually apply pycache changes to
       15.0+ and not just 15.1+.
+    + Backport build fix from pyhoca-cli: also apply pycache changes to
+      Tumbleweed, which seems to not get caught by %{sle_version}.
 
  -- 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 c88ea3e..4da5fc7 100644
--- a/pyhoca-gui.spec
+++ b/pyhoca-gui.spec
@@ -315,7 +315,7 @@ 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
+%if ( 0%{?sle_version} >= 150000 ) || ( 0%{?suse_version} > 1500 )
 %pycache_only %{python3_sitelib}/pyhoca/wxgui/__pycache__
 %else
 %pycache_only %{python3_sitelib}/__pycache__

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