Skip to content

Commit

Permalink
rm mod_gen (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Apr 14, 2016
1 parent 91bd70d commit fdc54e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/dev-tools/spack/SPECS/spack.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Group: System/Configuration
License: LGPL
URL: https://github.com/LLNL/spack
Source0: https://github.com/LLNL/%{pname}/archive/v%{version}.tar.gz
Source1: OHPC_mod_generator.sh

BuildArch: noarch
BuildRequires: rsync
Expand Down Expand Up @@ -64,10 +63,11 @@ module-whatis "URL: https://github.com/LLNL/spack/"
set version %{version}
set SPACK_ROOT %{install_path}

prepend-path PATH %{install_path}/bin
prepend-path MODULEPATH %{install_path}/modules

EOF

%{__chmod} 700 %{_sourcedir}/OHPC_mod_generator.sh
%{_sourcedir}/OHPC_mod_generator.sh %{buildroot}/%{install_path}/share/spack/setup-env.sh >> %{buildroot}/%{OHPC_ADMIN}/modulefiles/spack/%{version}
%{__mkdir} -p %{RPM_BUILD_ROOT}/%{_docdir}

%clean
Expand Down

0 comments on commit fdc54e0

Please sign in to comment.