[environment-modules] Updated createmodule.sh, added createmodule.py, can handle path prefixes
Orion Poplawski
orion at fedoraproject.org
Wed Oct 31 22:12:27 UTC 2012
commit b16484ef6012e8a8e5232131048ea1ba4d9f7543
Author: Orion Poplawski <orion at nwra.com>
Date: Wed Oct 31 16:12:22 2012 -0600
Updated createmodule.sh, added createmodule.py, can handle path prefixes
environment-modules.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/environment-modules.spec b/environment-modules.spec
index 8fa085e..f8155f0 100644
--- a/environment-modules.spec
+++ b/environment-modules.spec
@@ -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 at cora.nwra.com> - 3.2.9c-5
+- Updated createmodule.sh, added createmodule.py, can handle path prefixes
+
* Fri Aug 24 2012 Orion Poplawski <orion at cora.nwra.com> - 3.2.9c-4
- Add patch to fix segfault from Tcl RexExp handling (bug 834580)
More information about the scm-commits
mailing list