Christian Goll
a641c6661c
- added test for /etc/spack/no_rpm_trigger - added %triggerin and %triggerpostun for the packages which can be detected by spack - updated to 0.16.0 - added find for external packages - added dockerfile for leap * added patchfile added-dockerfile-for-opensuse-leap-15.patch - Add documentation (man and info pages, pdf doesn't build currently). * Do not ship documentation sources. - Do not distribute Dockerfiles and other container related material, yet. This needs to be fixed so that the samples work with SUSE. - Fully integrate spack into SUSE directory structure, fix paths where required. * Fix setup scripts to work correctly in above environment. OBS-URL: https://build.opensuse.org/request/show/854051 OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=3
29 lines
989 B
Diff
29 lines
989 B
Diff
From e752e8f95a5fecf223e2849beeb8bd7cef234c60 Mon Sep 17 00:00:00 2001
|
|
From: Christian Goll <cgoll@suse.de>
|
|
Date: Wed, 11 Nov 2020 20:29:55 +0100
|
|
Subject: [PATCH 1/4] fix tumbleweed naming
|
|
|
|
---
|
|
lib/spack/spack/operating_systems/linux_distro.py | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/lib/spack/spack/operating_systems/linux_distro.py b/lib/spack/spack/operating_systems/linux_distro.py
|
|
index a6608e6d3..dfa09b16e 100644
|
|
--- a/lib/spack/spack/operating_systems/linux_distro.py
|
|
+++ b/lib/spack/spack/operating_systems/linux_distro.py
|
|
@@ -33,6 +33,11 @@ def __init__(self):
|
|
|
|
if 'ubuntu' in distname:
|
|
version = '.'.join(version[0:2])
|
|
+ # openSUSE Tumbleweed is a rolling release which can change
|
|
+ # more than once in a week, so set version to tumbleweed
|
|
+ elif 'opensuse-tumbleweed' in distname:
|
|
+ distname = 'opensuse'
|
|
+ version = 'tumbleweed'
|
|
else:
|
|
version = version[0]
|
|
|
|
--
|
|
2.26.2
|
|
|