-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvsc-profiles-brussel.spec
82 lines (74 loc) · 2.74 KB
/
vsc-profiles-brussel.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Summary: brussel vsc profiles files
Name: vsc-profiles-brussel
Version: 1.42
Release: 1
License: GPL
Group: Applications/System
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
%if 0%{?rhel} < 8
Requires: python-vsc-config
%else
Requires: python3-vsc-config
%endif
%description
Brussel VSC profiles files
%prep
%setup -q
%build
%install
mkdir -p $RPM_BUILD_ROOT/etc/profile.d/
install -m 644 vsc.sh $RPM_BUILD_ROOT/etc/profile.d/
install -m 644 vsc.csh $RPM_BUILD_ROOT/etc/profile.d/
install -m 644 vscautokey.sh $RPM_BUILD_ROOT/etc/profile.d/
install -m 644 vscautokey.csh $RPM_BUILD_ROOT/etc/profile.d/
install -m 644 vscprompt.sh $RPM_BUILD_ROOT/etc/profile.d/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
/etc/profile.d/vsc.sh
/etc/profile.d/vsc.csh
/etc/profile.d/vscautokey.sh
/etc/profile.d/vscautokey.csh
/etc/profile.d/vscprompt.sh
%changelog
* Wed Sep 25 2024 Samuel Moors <[email protected]>
- Add system to MODULEPATH
* Fri Oct 27 2023 Ward Poelmans <[email protected]>
- Adjust scratch regex to also support rhea scratch
* Fri Sep 29 2023 Alex Domingo <[email protected]>
- Avoid spurious extra colon in MODULEPATH
* Mon Mar 27 2023 Samuel Moors <[email protected]>
- Restrict MODULEPATH to the more recent ones
* Wed Feb 16 2023 Alex Domingo <[email protected]>
- Fix paths in prompt for users without VO
* Wed Feb 15 2023 Samuel Moors <[email protected]>
- Add test case for vsc prompt
* Mon Feb 13 2023 Samuel Moors <[email protected]>
- Improve prompt: replace VSC_SCRATCH_VO_USER with VSC_SCRATCH if equal
* Sat Feb 11 2023 Samuel Moors <[email protected]>
- Fix prompt for non-brussel users
* Tue Feb 07 2023 Ward Poelmans <[email protected]>
- Prep for el8
* Thu Dec 15 2022 Samuel Moors <[email protected]>
- Customize prompt for VSC accounts
* Wed Feb 24 2021 Ward Poelmans <[email protected]>
- Drop VSC_OS and VSC_ARCH logic in favor of vsc-config
* Fri Oct 02 2020 Ward Poelmans <[email protected]>
- Drop NetID support
* Tue Sep 22 2020 Ward Poelmans <[email protected]>
- Cleanup for new vsc-config and deprecating NetID, part 1
* Wed May 27 2020 Ward Poelmans <[email protected]>
- Generate rsa keys instead of dsa
* Thu Nov 28 2019 Ward Poelmans <[email protected]>
- Drop creating the workdir on login, it's done by vsc-netid-administration
* Thu Sep 19 2019 Ward Poelmans <[email protected]>
- Add /etc/modulefiles/vsc to MODULEPATH if it exists
* Mon Aug 05 2019 Ward Poelmans <[email protected]>
- Fix MODULEPATH: set it only once
* Thu Jul 04 2019 Ward Poelmans <[email protected]>
- Drop creating of TMPDIR directories of netid.
* Mon Mar 18 2019 Ward Poelmans <[email protected]>
- First version (spec file taken from Gent)