Reported by valleegr on 9 Mar 2011 17:31 UTC
RHEL distros now include a environment-modules package. We should rely on it to avoid conflicts.
It seems that we could remove modules-oscar and replace it by environment-modules. For that, we could update the pre/post install scripts of OSCAR packages so they will add the module paths in '''/usr/share/Modules/init/.modulespath''' (if the path does not exists, just add a dependency to environement-modules as dependency, just ensure that the file '''/usr/share/Modules/init/.modulespath''' is marked as %config in the spec file so it is not overwritten when updating packages).
Reported by valleegr on 9 Mar 2011 17:31 UTC RHEL distros now include a environment-modules package. We should rely on it to avoid conflicts.
It seems that we could remove modules-oscar and replace it by environment-modules. For that, we could update the pre/post install scripts of OSCAR packages so they will add the module paths in '''/usr/share/Modules/init/.modulespath''' (if the path does not exists, just add a dependency to environement-modules as dependency, just ensure that the file '''/usr/share/Modules/init/.modulespath''' is marked as %config in the spec file so it is not overwritten when updating packages).