[X2Go-Commits] [python-x2go] 01/01: python-x2go.spec: older OpenSuSE Leap versions don't support %{python2_sitelib} - use %{python_sitelib} instead.
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 2 06:00:06 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit 2a1907b3c3fd67587a5b3cccf48430af113a2c80
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jun 2 05:59:43 2018 +0200
python-x2go.spec: older OpenSuSE Leap versions don't support %{python2_sitelib} - use %{python_sitelib} instead.
---
debian/changelog | 2 ++
python-x2go.spec | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7354f0a..9ad0462 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,8 @@ python-x2go (0.5.99.1-0x2go1) UNRELEASED; urgency=medium
using %global instead.
- Merge python(2)-x2go section in main section, since we cannot redefine
subpackages.
+ - Older OpenSuSE Leap versions don't support %{python2_sitelib} - use
+ %{python_sitelib} instead.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Fri, 22 Sep 2017 14:15:05 +0200
diff --git a/python-x2go.spec b/python-x2go.spec
index a781279..ba10d79 100644
--- a/python-x2go.spec
+++ b/python-x2go.spec
@@ -217,13 +217,18 @@ python3 setup.py install --skip-build --root %{buildroot}
%defattr(-,root,root)
%license COPYING
%doc README* TODO
-%{python2_sitelib}/*
%if 0%{?suse_version}
%if 0%{?sle_version} && 0%{?sle_version} >= 120300 && 0%{?is_opensuse}
+%{python2_sitelib}/*
%pycache_only %{python2_sitelib}/__pycache__
+%else
+%{python_sitelib}/*
%endif
+%else
+%{python2_sitelib}/*
%endif
+
%if 0%{?with_python3} && ( ! ( 0%{?rhel} ) || 0%{?rhel} > 7 )
%files -n python3-x2go
%defattr(-,root,root)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list