Updated createmodule.sh, added createmodule.py, can handle path prefixes
This commit is contained in:
parent
9c1d7d9012
commit
b16484ef60
@ -1,6 +1,6 @@
|
||||
Name: environment-modules
|
||||
Version: 3.2.9c
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Provides dynamic modification of a user's environment
|
||||
|
||||
Group: System Environment/Base
|
||||
@ -9,6 +9,7 @@ URL: http://modules.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/modules/modules-%{version}.tar.bz2
|
||||
Source1: modules.sh
|
||||
Source2: createmodule.sh
|
||||
Source3: createmodule.py
|
||||
Patch0: environment-modules-3.2.7-bindir.patch
|
||||
# Patch to fix segfault in module unload due to Tcl RegExp handling
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=834580
|
||||
@ -67,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||
cp -p %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/modules.sh
|
||||
cp -p %SOURCE2 $RPM_BUILD_ROOT%{_datadir}/Modules/bin
|
||||
cp -p %SOURCE2 %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/Modules/bin
|
||||
ln -s %{_datadir}/Modules/init/csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/modules.csh
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modulefiles
|
||||
|
||||
@ -97,6 +98,9 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 31 2012 Orion Poplawski <orion@cora.nwra.com> - 3.2.9c-5
|
||||
- Updated createmodule.sh, added createmodule.py, can handle path prefixes
|
||||
|
||||
* Fri Aug 24 2012 Orion Poplawski <orion@cora.nwra.com> - 3.2.9c-4
|
||||
- Add patch to fix segfault from Tcl RexExp handling (bug 834580)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user