-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLmod-config.spec
64 lines (56 loc) · 1.97 KB
/
Lmod-config.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Summary: Sitepackage and other config files for Lmod
Name: Lmod-config
Version: 1.10
Release: 1
License: GPL
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Requires: Lmod
Source0: run_lmod_cache.py
Source1: SitePackage.lua
Source2: admin.list
Source3: lang.lua
%description
All the files we want for Lmod tweaking.
%prep
%build
%install
%{__mkdir_p} %{buildroot}%{_libexecdir}/lmod
%{__install} -p %{SOURCE0} %{buildroot}%{_libexecdir}/lmod
%{__mkdir_p} %{buildroot}%{_sysconfdir}/lmod
%{__install} -pm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/lmod
%{__install} -pm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/lmod
%{__install} -pm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/lmod
# evil hack for CO7: avoid all postinstalls checks as it
# causes python3 issues.
%if 0%{?rhel} < 8
exit 0
%endif
%files
%defattr(-,root,root,-)
%{_sysconfdir}/lmod/
%{_libexecdir}/lmod/run_lmod_cache.py
%changelog
* Fri Jan 17 2025 Alex Domingo <[email protected]>
- Fix get_avail_memory for cgroups v1/v2
* Mon Jan 06 2025 Cintia Willemyns <[email protected]>
- Hide modules older than module_age 6, instead of 5
* Wed Sep 25 2024 Samuel Moors <[email protected]>
- Add system modules path to Lmod cache
* Wed Dec 13 2023 Samuel Moors <[email protected]>
- Set default basedir OS to Rocky 8
* Wed Nov 29 2023 Ward Poelmans <[email protected]>
- Hide legacy software trees (CO7)
* Thu Nov 09 2023 Alex Domingo <[email protected]>
- Hide AlphaFold modules for ColabFold
* Tue Jun 13 2023 Ward Poelmans <[email protected]>
- Fix bugs in cache script and move it outside Lmod dir
* Fri Mar 17 2023 Ward Poelmans <[email protected]>
- No hiding when legacy-sofware is loaded
* Mon Feb 20 2023 Ward Poelmans <[email protected]>
- Add special tweak for RHEL 7 building
* Wed Feb 15 2023 Samuel Moors <[email protected]>
- Add option in run_lmod_cache.py to show cache age
* Tue Feb 14 2023 Ward Poelmans <[email protected]>
- First version