[X2Go-Commits] [x2goclient] 19/25: pyhoca-cli.spec: fix newer *SuSE versions: 15.0+ seem to install the pycace files into a subdirectory based on the package name.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:07:20 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.6.1.2
in repository x2goclient.
commit 8cb1e43609fdce37ca377a27567e71ce104aa370
Author: Mihai Moldovan <ionic at ionic.de>
Date: Tue Dec 24 18:30:51 2019 +0100
pyhoca-cli.spec: fix newer *SuSE versions: 15.0+ seem to install the pycace files into a subdirectory based on the package name.
---
debian/changelog | 2 ++
pyhoca-cli.spec | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ecea670f..ccd3917d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,8 @@ pyhoca-cli (0.6.1.2-0x2go1) UNRELEASED; urgency=medium
+ Actually fix issue: macros are expanded even in commented lines and some
of them were not properly escaped via double percent sign characters.
+ Fix another unescaped macro in comment.
+ + Fix newer *SuSE versions: 15.0+ seem to install the pycace files into a
+ subdirectory based on the package name.
-- 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 185e4374..48a224c8 100644
--- a/pyhoca-cli.spec
+++ b/pyhoca-cli.spec
@@ -261,10 +261,14 @@ cp -rp man/* %{buildroot}/%{_mandir}/
%{python3_sitelib}/PyHoca_CLI*
%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}/pyoca/cli/__pycache__
+%else
%pycache_only %{python3_sitelib}/__pycache__
%endif
%endif
%endif
+%endif
%{_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