SHA256
1
0
forked from pool/lua-lmod

117 Commits

Author SHA256 Message Date
cbdb70e9c7 Accepting request 1309469 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/1309469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=46
2025-10-07 16:28:22 +00:00
0cfd7fae19 - Fix build failure by specifying the path to the lua and luac executables.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=115
2025-10-07 07:11:25 +00:00
5658c84cca Accepting request 1265193 from network:cluster
- Remove python2 support. (forwarded request 1265189 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1265193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=45
2025-03-31 09:40:10 +00:00
2a314034b8 - Remove python2 support.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=113
2025-03-28 12:11:07 +00:00
49e30fb6e9 - Fix formatting:
* Version 8.7.39:
    + Fix busted test for ModuleA.
    + Added new function `depends_on_any()`:
      If `$MODULES_AUTO_HANDLING` is set then
      `prereq()` -> `depends_on()`, `prereq_any()` -> `depends_on_any()`
    + Do not reset `BASH_ENV` if already set for `profile.in`.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=112
2025-03-25 12:47:26 +00:00
98d6362465 Accepting request 1240496 from network:cluster
- Add /usr/share/lmod/%{version}/libexec/addto to the `bash`
  Apparmor abstraction to allow it to be executed when setting the
  environment when starting non-interactive shells (boo#1236365). (forwarded request 1240494 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1240496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=44
2025-01-27 19:55:59 +00:00
2cf3fe44bc - Add /usr/share/lmod/%{version}/libexec/addto to the bash
Apparmor abstraction to allow it to be executed when setting the
  environment when starting non-interactive shells (boo#1236365).

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=110
2025-01-27 10:42:38 +00:00
3909e3f72e Accepting request 1234733 from network:cluster
- Update to version 8.7.55:
  * Version 8.7.38
    + Issue #697: Add warning if doing `module use --help`
    + Make `LMOD_IGNORE_CACHE` use "yes/no" env variable setting
      system.
    + Make `module --terse show <module>` do the same as
      `module --loc show <module>`, namely print the location of the
      module.
    + Support for `module --terse spider phdf5/1.12.2` that just
      prints the module in the hierarchy.
    + Move almost almost all `cosmic:value()` calls to inside
      function not at routine top-level.
    + Report build time in UTC when `$SOURCE_DATE_EPOCH` is set.
    + Support for downstream conflicts has been added.
    + Support for dynamic `LMOD_MODULERC` has been added.
   (8.7.39) * Fix busted test for ModuleA.
  * Version 8.7.40
    + Bug fix for prepend/append path when trying to add an empty string.
    + Bug fix for `serializeTbl`: handle empty or single blank
      string as key.
  * Version 8.7.41
    + Added new function `depends_on_any()`.
    + If `$MODULES_AUTO_HANDLING` is set then
      `prereq() -> depends_on()`; prereq_any() -> depends_on_any()`
    + Generate a perl pod format for manpage for `module.1`
    + `ModuleTable` modification: Changes to `$MODULEPATH` are
      stored in an entry.
  * Version 8.7.42
    + Fix setting of `$FPATH` when running bash or ksh shell
      and executing `zsh -l`. (forwarded request 1234730 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1234733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=43
2025-01-05 14:30:29 +00:00
21622dcb91 - Update to version 8.7.55:
* Version 8.7.38
    + Issue #697: Add warning if doing `module use --help`
    + Make `LMOD_IGNORE_CACHE` use "yes/no" env variable setting
      system.
    + Make `module --terse show <module>` do the same as
      `module --loc show <module>`, namely print the location of the
      module.
    + Support for `module --terse spider phdf5/1.12.2` that just
      prints the module in the hierarchy.
    + Move almost almost all `cosmic:value()` calls to inside
      function not at routine top-level.
    + Report build time in UTC when `$SOURCE_DATE_EPOCH` is set.
    + Support for downstream conflicts has been added.
    + Support for dynamic `LMOD_MODULERC` has been added.
   (8.7.39) * Fix busted test for ModuleA.
  * Version 8.7.40
    + Bug fix for prepend/append path when trying to add an empty string.
    + Bug fix for `serializeTbl`: handle empty or single blank
      string as key.
  * Version 8.7.41
    + Added new function `depends_on_any()`.
    + If `$MODULES_AUTO_HANDLING` is set then
      `prereq() -> depends_on()`; prereq_any() -> depends_on_any()`
    + Generate a perl pod format for manpage for `module.1`
    + `ModuleTable` modification: Changes to `$MODULEPATH` are
      stored in an entry.
  * Version 8.7.42
    + Fix setting of `$FPATH` when running bash or ksh shell
      and executing `zsh -l`.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=108
2025-01-03 13:30:54 +00:00
6fba92f4af Accepting request 1198756 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/1198756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=42
2024-09-05 13:47:00 +00:00
15d283b071 Accepting request 1167927 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/1167927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=41
2024-04-16 18:04:58 +00:00
1a48e0c317 Accepting request 1167878 from home:eeich:branches:network:cluster
-  Update to version 8.7.37:
   * Use the correct mname from Framestack when unregistering a "break"
     module.
   * Ignore backup files (*~ .*.swp etc) files in a modulerc.d directory.
   * Fixed buildVersion_src to deal with (HEAD detached at x.y.z)
   * From 8.7.35 & 8.7.36:
     * Let is-loaded and is-avail set  non-zero exit status. This is different
       from warnings.
     * Must pass in mpathA to isVisible when trying to find hidden modules in
       buildDbT
     * Do not produce a Lua error on a non-existant collection
     * Now use "m_Module_Msgs_close" instead of border so that sites can
       override.
     * Add LMOD_ADMIN_FILE to config report
     * Call build_i18n before calling warnings, errors or messages
     * Allow for multiple hooks.  Note that last one in list sets the result
       value on return
     * Allow io.popen() to be called from a modulefile.
     * Created buildVersion_src to build src/Version.lua when installing Lmod.

OBS-URL: https://build.opensuse.org/request/show/1167878
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=104
2024-04-16 06:40:12 +00:00
cbeca44ba6 Accepting request 1155209 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/1155209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=40
2024-03-05 17:52:22 +00:00
86ee3e0e78 Accepting request 1153907 from home:pgajdos:l
- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1153907
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=102
2024-03-05 13:41:19 +00:00
865db4bad9 Accepting request 1140511 from network:cluster
- Update to version 8.7.34
  * (Again) Cannot use the string ${ZSH_VERSION} in
    $FPATH.  Instead change orig zsh version to current one.
  * Change isFile(fn) to return nil if fn is a broken symlink.
  * Change abspath() to l_abspath() in tools/fileOps.lua
  * Create realpath() to use posix.realpath() if it exists
    otherwise use l_abspath()
  * Implement user request that the Active RC file(s) be realpath()
  * Internally rename complete name to be "complete<name>" and
    unwrap when necessary.
  * Change the current version of zsh with the string
    ${ZSH_VERSION} when builting the init/zsh file.
  * Better handling of zsh shell functions in source_sh().
    Must match "\n}\n" to find end of function.
  * Better name for extension title, remove trailing \n
  * Added support for getenv function in TCL modules
  * Fix bug where the version is very long (like git commit tags)
  * Must delete old tcl2lua.so* files before installing new ones
  * wrap double quotes around any newlines found in env var value
    in bash like shells
  * Unknown TCL module command now produce an error instead of
    being ignored
  * Update zsh and bash tab completion files
  * Added support for "module purge" in a TCL modulefile to unload
    all other modules on load.
  * "module show" now prints the contents of inheritted modules.
  * Added support for "purge()" function in modules to unload all
    other modules on load.
  * Created hook colorize_fullName to allow for sites to control
    how "module list" and "module av" (forwarded request 1139499 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1140511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=39
2024-01-22 19:38:15 +00:00
9b761ed594 Accepting request 1139499 from home:eeich:branches:network:cluster
- Update to version 8.7.34
  * (Again) Cannot use the string ${ZSH_VERSION} in
    $FPATH.  Instead change orig zsh version to current one.
  * Change isFile(fn) to return nil if fn is a broken symlink.
  * Change abspath() to l_abspath() in tools/fileOps.lua
  * Create realpath() to use posix.realpath() if it exists
    otherwise use l_abspath()
  * Implement user request that the Active RC file(s) be realpath()
  * Internally rename complete name to be "complete<name>" and
    unwrap when necessary.
  * Change the current version of zsh with the string
    ${ZSH_VERSION} when builting the init/zsh file.
  * Better handling of zsh shell functions in source_sh().
    Must match "\n}\n" to find end of function.
  * Better name for extension title, remove trailing \n
  * Added support for getenv function in TCL modules
  * Fix bug where the version is very long (like git commit tags)
  * Must delete old tcl2lua.so* files before installing new ones
  * wrap double quotes around any newlines found in env var value
    in bash like shells
  * Unknown TCL module command now produce an error instead of
    being ignored
  * Update zsh and bash tab completion files
  * Added support for "module purge" in a TCL modulefile to unload
    all other modules on load.
  * "module show" now prints the contents of inheritted modules.
  * Added support for "purge()" function in modules to unload all
    other modules on load.
  * Created hook colorize_fullName to allow for sites to control
    how "module list" and "module av"

OBS-URL: https://build.opensuse.org/request/show/1139499
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=100
2024-01-22 09:55:45 +00:00
f4f60bab6c Accepting request 1097041 from network:cluster
- Add apparmor bash abstraction for Lmod (bsc#1212837).
- Create an rpmlint file.
- Rename Provides: modules to environment-modules. This way,
  it is compatible with the other provider.
- Stop building on 32 bit.

* Use ExcludeArch instead of an ExclusiveArch construct.
* Make sure, apparmor cache subdirectories are deleted as well.

OBS-URL: https://build.opensuse.org/request/show/1097041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=38
2023-07-06 16:28:39 +00:00
239d7fbcc3 Accepting request 1097040 from home:eeich:branches:network:cluster
- Use ExcludeArch instead of an ExclusiveArch construct.
- Make sure, apparmor cache subdirectories are deleted as well.

OBS-URL: https://build.opensuse.org/request/show/1097040
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=98
2023-07-06 06:18:11 +00:00
829292d08d Accepting request 1096952 from home:eeich:branches:network:cluster
- Improve post install script to reload Apparmor profiles with new abstraction

OBS-URL: https://build.opensuse.org/request/show/1096952
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=97
2023-07-05 11:52:08 +00:00
4b5abe6760 Accepting request 1096845 from home:eeich:branches:network:cluster
- Rename Provides: modules to environment-modules. This way,
  it is compatible with the other provider.
- Stop building on 32 bit.

OBS-URL: https://build.opensuse.org/request/show/1096845
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=96
2023-07-04 19:28:04 +00:00
bf8ae60945 Accepting request 1096844 from home:eeich:branches:network:cluster
- Add apparmor bash abstraction for Lmod (bsc#1212837).
- Create an rpmlint file.

OBS-URL: https://build.opensuse.org/request/show/1096844
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=95
2023-07-04 18:27:20 +00:00
6fa641f909 Accepting request 1063843 from network:cluster
- Do not 'Require:' lua interpreter explicitly: this will be
  handled by an auto-generated dependency.
- After a discussion with Dominique (dimstar@opensuse.org)
  he agreed to define the preferred Lua vesion in %%lua_pref
  in the ProjConfig of oS:Factory so that it can be used in
  'BuildRequires:'. Take advantage of this new value (with a
  fallback). (forwarded request 1063842 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1063843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=37
2023-02-08 16:20:11 +00:00
258422c322 Accepting request 1063842 from home:eeich:branches:network:cluster
- Do not 'Require:' lua interpreter explicitly: this will be
  handled by an auto-generated dependency.
- After a discussion with Dominique (dimstar@opensuse.org)
  he agreed to define the preferred Lua vesion in %%lua_pref
  in the ProjConfig of oS:Factory so that it can be used in
  'BuildRequires:'. Take advantage of this new value (with a
  fallback).

OBS-URL: https://build.opensuse.org/request/show/1063842
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=93
2023-02-08 14:04:35 +00:00
516412a6e6 Accepting request 1063812 from home:eeich:branches:network:cluster
- Remove direct dependency for a Lua interpreter.

OBS-URL: https://build.opensuse.org/request/show/1063812
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=92
2023-02-08 12:28:34 +00:00
3b48bff102 Accepting request 1063701 from home:eeich:branches:network:cluster
- Replace rpm shell magic by lua magic.

OBS-URL: https://build.opensuse.org/request/show/1063701
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=91
2023-02-07 23:31:40 +00:00
280a866fce Accepting request 1063692 from home:eeich:branches:network:cluster
- Match the Lua version and version name suffix of Lua libraries
  in Requires: to what has been used for building. Also set the
  minimal Lua version required by Lmod (bsc#1207970).

OBS-URL: https://build.opensuse.org/request/show/1063692
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=90
2023-02-07 21:28:40 +00:00
f759d3936f Accepting request 1058225 from network:cluster
- Updated to version 8.7.15:
  * Issue #619: Do not source lmod_bash_aliases when $POSIXLY_CORRECT is set
    (by bash --posix)
  * Issue #620: Dynamically set shell name inside Lmod instead of init/bash.in
  * Added debugging stmts to track down issue when adding loop in MODULEPATH
    when doing a spider.
  * Zsh now gets /path/to/ksh_scripts if KSH_SUPPORT is yes.
  * Issue #620: Honor shell name on command line.  Use "shell"
    when Lmod gets to decide.
  * Fix bug in keyword terse output: Add newline on final entry (Created
    in Lmod 8.4.18).
- Obsoletes:
  issue-620-Delay-setting-of-LMOD_SHELL_PRGM-until-module-is-actually-called.patch (forwarded request 1058224 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1058225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=36
2023-01-13 23:03:21 +00:00
bb7349247a Accepting request 1058224 from home:eeich:branches:network:cluster
- Updated to version 8.7.15:
  * Issue #619: Do not source lmod_bash_aliases when $POSIXLY_CORRECT is set
    (by bash --posix)
  * Issue #620: Dynamically set shell name inside Lmod instead of init/bash.in
  * Added debugging stmts to track down issue when adding loop in MODULEPATH
    when doing a spider.
  * Zsh now gets /path/to/ksh_scripts if KSH_SUPPORT is yes.
  * Issue #620: Honor shell name on command line.  Use "shell"
    when Lmod gets to decide.
  * Fix bug in keyword terse output: Add newline on final entry (Created
    in Lmod 8.4.18).
- Obsoletes:
  issue-620-Delay-setting-of-LMOD_SHELL_PRGM-until-module-is-actually-called.patch

OBS-URL: https://build.opensuse.org/request/show/1058224
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=88
2023-01-13 12:26:44 +00:00
5db0292ea1 Accepting request 1058036 from network:cluster
- Changing description to make it more clear to users what this tool
  is for wand where it should be installed - and where not.
  Also add Provides: for shell functions set by shell init scripts
  provided with this package. (forwarded request 1058035 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1058036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=35
2023-01-12 21:45:16 +00:00
6ac719f9b1 Accepting request 1058035 from home:eeich:branches:network:cluster
- Changing description to make it more clear to users what this tool
  is for wand where it should be installed - and where not.
  Also add Provides: for shell functions set by shell init scripts
  provided with this package.

OBS-URL: https://build.opensuse.org/request/show/1058035
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=86
2023-01-12 16:18:16 +00:00
03505c0272 Accepting request 1057160 from network:cluster
- issue-620-Delay-setting-of-LMOD_SHELL_PRGM-until-module-is-actually-called.patch:
  Since Lmod sets BASH_ENV to /usr/share/lmod/8.7.15/init/bash,
  do not run external commands immediately in this script but only
  when `module` is called for the first time. This prevents errors
  when this script is run during shell init for access restricted
  scripts (apparmor) (boo#1206957).

OBS-URL: https://build.opensuse.org/request/show/1057160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=34
2023-01-10 13:59:50 +00:00
78f687ec5e Since Lmod sets BASH_ENV to /usr/share/lmod/8.7.15/init/bash,
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=84
2023-01-09 19:55:07 +00:00
1e8bde11a0 - issue-620-Delay-setting-of-LMOD_SHELL_PRGM-until-module-is-actually-called.patch:
Since Lmod sets BASH_ENV to ,
  do not run external commands immediately in this script but only
  when `module` is called for the first time. This prevents errors
  when this script is run during shell init for access restricted
  scripts (apparmor) (boo#1206957).

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=83
2023-01-09 19:48:48 +00:00
0483c3e1f0 Accepting request 1046635 from network:cluster
- Update to version 8.7.15:
  User visible changes include:
  * Add option --miniConfig to report configuration differences from default.
  * Move cache file location from ~/.lmod.d/.cache/* to ~/.cache/lmod/*
  * Transitional support for using ~/.config/lmod for collections. Currently collect
    are written to both ~/.lmod.d/ and ~/.config/lmod.
  * setenv and pushenv change local environment when running spider (and avail).
  * Allow bash users to export SUPPORT_KSH=no so that they can avoid bash startup setting FPATH
  * Add --location option to show to write to stderr the file location.
  * Only rebuild spider caches if there are any loaded or pending modules.
    'module avail <name1> <name2> ...' now only prints matching aliases.  Search names are resolved.
  * Print dataT table when there is an Exception.
  * New command added: 'module overview'.
  * Add spiderPathFilter hook so that sites can control what paths are kept or ignored.
  * Added $LMOD_SITE_MODULEPATH support to prepend to MODULEPATH
  * Add support for sh_to_modulefile to support zsh, ksh, bash and tcsh with aliases and shell functions
  * Support for source_sh added. Now support more than one shell script per modulefile. (forwarded request 1046634 from eeich)

OBS-URL: https://build.opensuse.org/request/show/1046635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=33
2023-01-04 16:52:43 +00:00
32ed461904 Accepting request 1046634 from home:eeich:branches:network:cluster
- Update to version 8.7.15:
  User visible changes include:
  * Add option --miniConfig to report configuration differences from default.
  * Move cache file location from ~/.lmod.d/.cache/* to ~/.cache/lmod/*
  * Transitional support for using ~/.config/lmod for collections. Currently collect
    are written to both ~/.lmod.d/ and ~/.config/lmod.
  * setenv and pushenv change local environment when running spider (and avail).
  * Allow bash users to export SUPPORT_KSH=no so that they can avoid bash startup setting FPATH
  * Add --location option to show to write to stderr the file location.
  * Only rebuild spider caches if there are any loaded or pending modules.
    'module avail <name1> <name2> ...' now only prints matching aliases.  Search names are resolved.
  * Print dataT table when there is an Exception.
  * New command added: 'module overview'.
  * Add spiderPathFilter hook so that sites can control what paths are kept or ignored.
  * Added $LMOD_SITE_MODULEPATH support to prepend to MODULEPATH
  * Add support for sh_to_modulefile to support zsh, ksh, bash and tcsh with aliases and shell functions
  * Support for source_sh added. Now support more than one shell script per modulefile.

OBS-URL: https://build.opensuse.org/request/show/1046634
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=81
2023-01-03 18:45:20 +00:00
5e2e52157b Accepting request 1012077 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/1012077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=32
2022-10-17 12:58:38 +00:00
c27ad24293 Accepting request 1003838 from home:coolo:branches:openSUSE:Factory
- Move latex dependencies to the pdf build flavor

OBS-URL: https://build.opensuse.org/request/show/1003838
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=79
2022-10-17 12:07:15 +00:00
b30872a01c Accepting request 900060 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/900060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=31
2021-06-18 08:13:17 +00:00
3f4c7f2064 Accepting request 898667 from home:marxin:branches:network:cluster
- Add new missing dependency when using Sphinx 4.x.

OBS-URL: https://build.opensuse.org/request/show/898667
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=77
2021-06-15 08:41:30 +00:00
29b4c3d302 Accepting request 898370 from network:cluster
- Adding missing brackets in csh script.

- Modify generating of /etc/profile.d/lmod.* to allow use of existing
  $MODULEPATH environmental variable (bsc#1159563).

OBS-URL: https://build.opensuse.org/request/show/898370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=30
2021-06-09 19:51:44 +00:00
d0abd67348 - Adding missing brackets in csh script.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=75
2021-06-08 11:54:11 +00:00
ef25473abf Accepting request 897297 from home:mcepl:branches:network:cluster
- Modify generating of /etc/profile.d/lmod.* to allow use of existing
  $MODULEPATH environmental variable (bsc#1159563).

OBS-URL: https://build.opensuse.org/request/show/897297
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=74
2021-06-04 13:41:01 +00:00
8ae40938bb Accepting request 891434 from network:cluster
- Move macros out of /etc to the standard rpm macro directory
  (bsc#1185660).
- Remove shebang and execute bit from init scripts.

OBS-URL: https://build.opensuse.org/request/show/891434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=29
2021-05-10 13:34:13 +00:00
7df7991628 - Fix build for legacy systems.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=72
2021-05-07 21:04:09 +00:00
e5064ccdff - Move macros out of /etc to the standard rpm macro directory
(bsc#1185660).
- Remove shebang and execute bit from init scripts.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=71
2021-05-07 17:06:13 +00:00
Richard Brown
8c5fb1265b Accepting request 880864 from network:cluster
- Update to version 8.4.28:
  For details check: https://github.com/TACC/Lmod/issues/&lt;issueID&gt;
  * Use now converts relative paths to abspath (Issue #505).
  * Allow print statement in modulefiles (Issue #507). (forwarded request 880860 from eeich)

OBS-URL: https://build.opensuse.org/request/show/880864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=28
2021-04-06 15:29:03 +00:00
420eda5860 Accepting request 880860 from home:eeich:branches:network:cluster
- Update to version 8.4.28:
  For details check: https://github.com/TACC/Lmod/issues/<issueID>
  * Use now converts relative paths to abspath (Issue #505).
  * Allow print statement in modulefiles (Issue #507).

OBS-URL: https://build.opensuse.org/request/show/880860
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=69
2021-03-24 07:03:44 +00:00
Richard Brown
9641035025 Accepting request 879669 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/879669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=27
2021-03-19 15:40:21 +00:00
Ana Guerrero
eb121257a4 Accepting request 879662 from home:anag:branches:network:cluster
- Update to version 8.4.27:
  * (8.4.21) 
    + Add findLuaProg() or die
  * (8.4.22)
    + Fix luaCmd -> luaprog.
  * (8.4.23) 
    + Fix goto in luaterm pkg.
  * (8.4.24)  
    + Need to quote '?' in csh.
    + Make list of modules from spider skip .version* and .modulerc*
    + analyzeLmodDB now takes a list of all modules so that zero module 
      usage can be reported.
  * (8.4.26)
    + Fix bug with building on Suse linux
    + Allow all paths (but MODULEPATH) to have trailing double slashes.
  * (8.4.27) 
    + Fix default for SHORT_TIME
    + Adding isAvail() function for Lua modulefiles
    + Now reporting that is-avail() is not working for TCL modulefiles

OBS-URL: https://build.opensuse.org/request/show/879662
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=67
2021-03-17 11:11:04 +00:00
73bec86920 Accepting request 873195 from network:cluster
- updated to version 8.4.20 which works with lua54
  * (8.4.20)
    + Adding wV field to MName and MT class (Merged wV branch)
    + This allows users to tell how (if any) default is set.
  * (8.4.19)
    + MasterControl:unsetenv(name) also clears stack if it exists.
    + Issue #490: use old way of following readlink as "readlink -f" is not
      universal.
  * (8.4.18)
    + Issue #481 (and PR #488) are merged in. New configure options to specify
      where lua and luac executables exist (--with-lua= and --with-luac=).
      It is also possible to use --with-luaSuffix=.
      Both --with-lua= and --with-luac= must be specified if one is specified
      The option --with-luaSuffix= can not be used with --with-lua or
      --with-luac
    + PR #489 is merged in. This fixes bug with "module --terse keyword"
  * (8.4.17)
    + If python exists on system use $PYTHON -mjson.tool on the generation
      of *.json files from update_lmod_system_spider_cache_files script.
      Note $PYTHON is found by looking for python3, python or python2
    + Added TCL module function require-fullname to match requireFullName
      in Lua.
    + Do not check $cache_type twice, use $ext = lua for lua like operations
      in update spider cache script.
  * (8.4.16)
    + Issue #483: Added hidden file to spider tests. Showing that it works
      correctly.
    + Fixed bug where providedByT (a.k.a. Extensions) was always
      printed when doing "ml keyword ..."
    + Added lua module function requireFullName()

OBS-URL: https://build.opensuse.org/request/show/873195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=26
2021-02-18 19:39:55 +00:00
9f21d73b07 - updated to version 8.4.20 which works with lua54
* (8.4.20)
    + Adding wV field to MName and MT class (Merged wV branch)
    + This allows users to tell how (if any) default is set.
  * (8.4.19)
    + MasterControl:unsetenv(name) also clears stack if it exists.
    + Issue #490: use old way of following readlink as "readlink -f" is not
      universal.
  * (8.4.18)
    + Issue #481 (and PR #488) are merged in. New configure options to specify
      where lua and luac executables exist (--with-lua= and --with-luac=).
      It is also possible to use --with-luaSuffix=.
      Both --with-lua= and --with-luac= must be specified if one is specified
      The option --with-luaSuffix= can not be used with --with-lua or
      --with-luac
    + PR #489 is merged in. This fixes bug with "module --terse keyword"
  * (8.4.17)
    + If python exists on system use $PYTHON -mjson.tool on the generation
      of *.json files from update_lmod_system_spider_cache_files script.
      Note $PYTHON is found by looking for python3, python or python2
    + Added TCL module function require-fullname to match requireFullName
      in Lua.
    + Do not check $cache_type twice, use $ext = lua for lua like operations
      in update spider cache script.
  * (8.4.16)
    + Issue #483: Added hidden file to spider tests. Showing that it works
      correctly.
    + Fixed bug where providedByT (a.k.a. Extensions) was always
      printed when doing "ml keyword ..."
    + Added lua module function requireFullName()

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=65
2021-02-17 14:44:55 +00:00
3762042fe1 Accepting request 870629 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/870629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=25
2021-02-15 22:11:30 +00:00
cd5dc481f2 Accepting request 870613 from home:mslacken:branches:network:cluster
- updated to version 8.4.20 which works with lua54

OBS-URL: https://build.opensuse.org/request/show/870613
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=63
2021-02-09 15:55:40 +00:00
7924b2fa3f Accepting request 845098 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/845098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=24
2020-11-03 14:15:41 +00:00
Ana Guerrero
199b0a3fb0 Accepting request 845097 from home:anag:branches:network:cluster
- Update to version 8.4.10:
  * Use LMOD_ALLOW_ROOT_USE to control whether root uses Lmod or not
  * Documentation updates

OBS-URL: https://build.opensuse.org/request/show/845097
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=61
2020-10-30 20:26:13 +00:00
ddb6796faa Accepting request 836092 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/836092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=23
2020-09-25 14:26:24 +00:00
Ana Guerrero
2a8cc24cc4 Accepting request 836090 from home:anag:branches:network:cluster
- Update to version 8.4.5:
  * Support for Lua 5.4 added.
  * Improved support for ksh and ksh scripts.
  * Improved documentation for software hierarchy and community module collections.

OBS-URL: https://build.opensuse.org/request/show/836090
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=59
2020-09-22 12:57:00 +00:00
2eb7e27134 Accepting request 789279 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/789279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=22
2020-03-30 20:51:24 +00:00
dfb1df8252 Accepting request 789221 from home:scarabeus_iv:branches:network:cluster
- Fix the python3 switch on sphinx to not really pull any py2
  package

OBS-URL: https://build.opensuse.org/request/show/789221
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=57
2020-03-28 12:15:52 +00:00
1f64c970b0 Accepting request 787696 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/787696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=21
2020-03-25 22:43:05 +00:00
Ana Guerrero
7db11966c6 Accepting request 787695 from home:anag:branches:network:cluster
- Update to version 8.3.6:
  * Create findExec shell function to locate commands like ps.
  * Bugfixes.

OBS-URL: https://build.opensuse.org/request/show/787695
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=55
2020-03-24 08:03:40 +00:00
ba22d19fd5 Accepting request 784352 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/784352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=20
2020-03-17 12:07:18 +00:00
a77353e958 Accepting request 784315 from home:mimi_vx:branches:network:cluster
- python3 based Sphinx

OBS-URL: https://build.opensuse.org/request/show/784315
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=53
2020-03-12 14:34:57 +00:00
37e1a06dac Accepting request 777922 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/777922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=19
2020-02-25 15:03:15 +00:00
Ana Guerrero
5c9f29b7fe Accepting request 777921 from home:anag:branches:network:cluster
- Update to version 8.3.1:
  * The function extensions() now takes a string of comma separated names. 
  * Add support for "atleast()" and "between()" functions support a "<" 
    to signify a less than instead of less than or equal to between range.
  * Make "ml - foo" an error.
  * It is now safe to have os.exit(1) in a modulefile. Spider can now 
    handle it.
- Remove obsolete BuildRequires on ohpc.

OBS-URL: https://build.opensuse.org/request/show/777921
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=51
2020-02-21 11:18:57 +00:00
226d19aaa1 Accepting request 751802 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/751802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=18
2019-12-07 14:19:07 +00:00
Ana Guerrero
a9a3815060 Accepting request 751799 from home:anag:branches:network:cluster
- Update to version 8.2.5:
   * Better support for the fish shell including tab completion
   * New function extensions(): This allows for modules like python 
     to report that the extensions numpy and scipy are part of the 
     modules. Users can use "module spider numpy" to find which 
     modules provide numpy etc.
   * Added a new command "clearLmod" which does a module purge and 
     removes all LMOD aliases and environment variables.
   * Remove asking for the absolute path for generating spiderT 
     and dbT. It now only use when building the reverseMapT.
   * Lmod now requires "rx" other access when searching for 
     modulefiles.
   * settarg correctly handles a power9 processor running linux.
- Refresh patch 
  * Messages-Remove-message-about-creating-a-consulting-ticket.patch

OBS-URL: https://build.opensuse.org/request/show/751799
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=49
2019-11-29 09:20:08 +00:00
60e75e5be2 Accepting request 733704 from network:cluster
Add Jira feature ID

OBS-URL: https://build.opensuse.org/request/show/733704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=17
2019-09-30 13:59:04 +00:00
Ana Guerrero
3e4d7d28dd Add Jira feature ID
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=47
2019-09-27 16:10:06 +00:00
d381a6db7f Accepting request 725391 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/725391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=16
2019-08-27 08:17:37 +00:00
Ana Guerrero
b2756bf5fd Accepting request 725390 from home:anag:branches:network:cluster
- Update to version 8.1.14:
    * Extended Default feature added: module load intel/17 will find 
      the "best" intel/17.* etc.
    * All hidden files are NOT written to the softwarePage output.
    * Lmod now correctly reports failed to load module "A" in the 
      special case where "ml A B" and A is a prereq of B and A 
      doesn't exist.
    * A meta module takes precedence over a regular module if the 
      meta module occurs in an earlier directory in $MODULEPATH
    * Lmod output only "fills" when the text is more than one line 
      or it is wider than the current width.
    * Embed the TCL interpreter in Lmod when a site allows TCL files
    * "module reset" resets $MODULEPATH to be the system $MODULEPATH
    * Improved tracing of module loads/unloads when --trace is given.
    * Allow MODULERCFILE to be a colon separated list.
- Set --with-fastTCLInterp=no, because this option is not supported 
  with TCL 8.6

OBS-URL: https://build.opensuse.org/request/show/725390
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=45
2019-08-22 18:21:36 +00:00
a78ea90abe Accepting request 683908 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/683908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=15
2019-03-14 13:53:39 +00:00
735fee907a Accepting request 683907 from home:anag:branches:network:cluster
- Remove flavor 'doc-man' building a package only with the lmod manpage
  and move the manpage to lua-lmod.
- Remove the Recommends on lua-lmod-man and add a Provides instead.
- Update the Group tag for lua-lmod-doc to Documentation/Other because
  Documentation/PDF doesn't exist and make the package noarch.

OBS-URL: https://build.opensuse.org/request/show/683907
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=43
2019-03-11 14:11:24 +00:00
Stephan Kulow
fd0654b1fa Accepting request 674755 from network:cluster
- Declare bash-specific nature of build recipe. (forwarded request 674454 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/674755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=14
2019-02-24 16:06:58 +00:00
174af5cb85 Accepting request 674454 from home:jengelh:branches:network:cluster
- Declare bash-specific nature of build recipe.

OBS-URL: https://build.opensuse.org/request/show/674454
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=41
2019-02-13 22:44:47 +00:00
3487e62634 Accepting request 668723 from home:eeich:branches:network:cluster
- Update to 7.8.15:
    * issue #379: Extra space required for shell function definitions
      under bash
    * issue #380: Change DependencyCk mode from load to dependencyCk,
      sType and tcl_mode remain load.
    * Fixed problem with unbound variable __lmod_sh_dbg in module shell
      function definition
    * Add unload state to tracing.
    * Define MCP and mcp earlier in lmod main() so that errors/warning
      found in SitePackage work.
    * issue #383: Use LUA_PATH to evaluate Version.lua instead of
      depending on ./?.lua to be LUA_PATH.
    * Added mgrload function and documentation
    * Fixed unbound variable in bash.in.
    * Fixed bug when ~/.lmod.d/cache was read only.
    * Fixed quote rules for Python, R and CMAKE.
    * issue #390: Added a message when find first rules are used to set
      defaults when NVV is found in both avail and tracing.
    * issue #389: Honor newlines and leading spaces in Nag messages.
    * Allow MODULERCFILE to be a colon separated list.
    * issue #391: Only process the family stack when in the modulefile
      that requested it.
    * Allow MODULERCFILE to be a colon separated list with the priority
      be left to right instead of right to left.
    * Added cc test case for issues with choosing the correct module
      when doing reloadAll()
    * issue #394: Only reload modules when the userName has remained the
      same in mt.
    * Add Lmod version report to --trace output.
    * issue #394: use mname = MName:new("load",mt:userName(sn)) to get

OBS-URL: https://build.opensuse.org/request/show/668723
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=40
2019-02-13 06:59:53 +00:00
21d3ae07c1 Accepting request 630003 from network:cluster
- Update to 7.8.1:
    * Fixed typo in myGlobals.lua about assigning LMOD_DUPLICATE_PATHS
    *  Fixed TARG_TITLE_BAR_PAREN to always have a value, needed for tcsh.
    * Added LMOD_SETTARG_TITLE_BAR=yes to turn on the title bar.
    * Changed from sn-version to sn/version in title bar.
    * Changed the initialization of LMOD_SETTARG_CMD in bash.in and csh.in.
      It is defined to be `:' iff it is undefined.  This allows settarg to work
      in sub-shells.
    * Use spider cache for "module --terse avail" when LMOD_CACHED_LOADS=yes
    * Fix bug with LMOD_SETTARG_CMD and csh.
    * Turn off LMOD_REDIRECT for tcsh
      Settarg now supports C/N/V and N/V/V module layouts.
    * Fixed a bug where sometimes a compiler-mpi dependent module wouldn't
      be found when it should.
    * Fixed issue #321 Changed LMOD_TARGPATHLOC to LMOD_SETTARG_TARG_PATH_LOCATION
      changed LMOD_FULL_SETTARG_SUPPORT to LMOD_SETTARG_FULL_SUPPORT. (Lmod supports both)
    * Fixed issue #322 where non-existant directory would cause problems
    * Fix bug in settarg module for csh.
    * Fix bug in Csh.lua where semicolons inside an alias were removed.  Only remove the
      trailing semicolon.
    * Generate an LmodError() if the cachefile is broken.
    * Do not convert /foo/bar/../baz to /foo/baz.  Leave .. in paths. Fixes issue #324
    * The admin.list (aka, nag mesages) supports Lua regex's.  Responds to issue #326
    * The admin.list now supports multiple targets for the same message (issue #326)
    * Use full path_regularize() on all TCL program files.  Having paths like /a/b/../d
      caused problems for some users when interacting with TCL.
    * Do not look for lua_json.  Just use the one that comes with Lmod.
    * Fix sh_to_modulefile correctly handle bad options (issue #332)
    * Allow pushenv("FOO",false) to clear "FOO" (issue #331)
    * Always use ref counting for MODULEPATH. (forwarded request 630002 from eeich)

OBS-URL: https://build.opensuse.org/request/show/630003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=13
2018-08-28 07:24:24 +00:00
974a023fb2 Accepting request 630002 from home:eeich:branches:network:cluster
- Update to 7.8.1:
    * Fixed typo in myGlobals.lua about assigning LMOD_DUPLICATE_PATHS
    *  Fixed TARG_TITLE_BAR_PAREN to always have a value, needed for tcsh.
    * Added LMOD_SETTARG_TITLE_BAR=yes to turn on the title bar.
    * Changed from sn-version to sn/version in title bar.
    * Changed the initialization of LMOD_SETTARG_CMD in bash.in and csh.in.
      It is defined to be `:' iff it is undefined.  This allows settarg to work
      in sub-shells.
    * Use spider cache for "module --terse avail" when LMOD_CACHED_LOADS=yes
    * Fix bug with LMOD_SETTARG_CMD and csh.
    * Turn off LMOD_REDIRECT for tcsh
      Settarg now supports C/N/V and N/V/V module layouts.
    * Fixed a bug where sometimes a compiler-mpi dependent module wouldn't
      be found when it should.
    * Fixed issue #321 Changed LMOD_TARGPATHLOC to LMOD_SETTARG_TARG_PATH_LOCATION
      changed LMOD_FULL_SETTARG_SUPPORT to LMOD_SETTARG_FULL_SUPPORT. (Lmod supports both)
    * Fixed issue #322 where non-existant directory would cause problems
    * Fix bug in settarg module for csh.
    * Fix bug in Csh.lua where semicolons inside an alias were removed.  Only remove the
      trailing semicolon.
    * Generate an LmodError() if the cachefile is broken.
    * Do not convert /foo/bar/../baz to /foo/baz.  Leave .. in paths. Fixes issue #324
    * The admin.list (aka, nag mesages) supports Lua regex's.  Responds to issue #326
    * The admin.list now supports multiple targets for the same message (issue #326)
    * Use full path_regularize() on all TCL program files.  Having paths like /a/b/../d
      caused problems for some users when interacting with TCL.
    * Do not look for lua_json.  Just use the one that comes with Lmod.
    * Fix sh_to_modulefile correctly handle bad options (issue #332)
    * Allow pushenv("FOO",false) to clear "FOO" (issue #331)
    * Always use ref counting for MODULEPATH.

OBS-URL: https://build.opensuse.org/request/show/630002
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=38
2018-08-17 19:50:49 +00:00
b1b6f3f5d0 Accepting request 629992 from home:eeich:branches:network:cluster
- Change %license to a %my_license macro to be able to
  build for the HPC module on SLE-12.

OBS-URL: https://build.opensuse.org/request/show/629992
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=37
2018-08-17 18:28:07 +00:00
d656b3896b Accepting request 629991 from home:eeich:branches:network:cluster
- Move doc and man page building into separate flavors.

OBS-URL: https://build.opensuse.org/request/show/629991
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=36
2018-08-17 18:16:35 +00:00
3f764dec89 Accepting request 597885 from network:cluster
- Replace %__ type macro indirections.
- Update RPM groups, summaries, find|xargs commands.

- Avoid conflicting script snippets from 'Modules' and 'lua-lmod'
  in /etc/profiles.d by making sure that both packages cannot be
  installed simultaneously (boo#1089970).

OBS-URL: https://build.opensuse.org/request/show/597885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=12
2018-04-19 13:32:12 +00:00
OBS User buildservice-autocommit
e8e9438fb7 Accepting request 597885 from network:cluster
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/597885
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=35
2018-04-19 13:32:12 +00:00
OBS User buildservice-autocommit
e6b44d7cc6 Updating link to change in openSUSE:Factory/lua-lmod revision 12.0
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=4e00db7320de8a826c149b15820a4a34
2018-04-19 13:32:12 +00:00
6f4cec2647 - use license macro for License file.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=34
2018-04-18 19:55:40 +00:00
e1d7baeb09 - Fixed typo
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=33
2018-04-18 19:47:06 +00:00
5d2f2c938c Accepting request 597781 from home:jengelh:branches:network:cluster
- Replace %__ type macro indirections.
- Update RPM groups, summaries, find|xargs commands.

OBS-URL: https://build.opensuse.org/request/show/597781
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=32
2018-04-18 19:46:32 +00:00
aef003456e simultaniously (boo#1089970).
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=31
2018-04-18 06:05:26 +00:00
1c56713b5e - Avoid conflicting script snippets from 'Modules' and 'lua-lmod'
in /etc/profiles.d by making sure, both packages cannot be installed
  simultaniously (bsc#1089970).

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=30
2018-04-18 05:57:04 +00:00
598063a179 Accepting request 534319 from network:cluster
1

OBS-URL: https://build.opensuse.org/request/show/534319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=11
2017-10-18 08:51:59 +00:00
43980ed94e Accepting request 534318 from home:eeich:branches:network:cluster
- Fix name of OHPC macro package: correct name is 'ohpc'

OBS-URL: https://build.opensuse.org/request/show/534318
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=28
2017-10-16 22:06:47 +00:00
d3f089163b - Fix changelog file: add bugzilla and FATE references.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=27
2017-10-16 20:33:40 +00:00
feb25ef347 Accepting request 534269 from home:eeich:branches:network:cluster
- Doc-Ugly-workaround-for-bug-in-Sphinx.patch
  On SLE-12 and Leap 42.x Sphinx generates an incorrect tex file.
  This patch adds ugly code to the documentation Makefile to patch
  it up and work around this problem.

OBS-URL: https://build.opensuse.org/request/show/534269
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=26
2017-10-16 15:33:38 +00:00
14ef2d51e6 Accepting request 533072 from network:cluster
- Make lua-lmod Arch-dependent: it hard codes the search path to
  .so plugins used by other Lua packages (boo#1061205).

- Update to 7.6:
     1. Support for disable <collection_name>
     2. A marked default is honored even if it is hidden
     3. Support for depends_on() as a better way to handle module dependencies.
   * Lmod 7.5:
     1. Added -T, --trace option to report restore, load, unloads and spider.
     2. Report both global and version aliases with module --terse
     	Add Global Aliases output to module avail if they exist.
     3. Support for isVisibleHook (Thanks @wpoely86!) to control whether
     	a module is hidden or not.
     4. Support for "spider -o spider-json" to set the key "hidden"
      to true or false for each module.
     5. Setting LMOD_EXACT_MATCH=yes also turns off the display of (D) with
      avail.
     6. CMake "shell" added.
     7. Added feature that LMOD_TMOD_FIND_FIRST.  A site can decide to force
        FIND_FIRST instead FIND_BEST for NV module layouts.
     Bug Fixes:
     1. Fix bug where Lmod would be unable to load a module where NV and
        NVV module layouts were mixed.
     2. Fix bug where LMOD_CASE_INDEPENDENT_SORTING=yes wasn't case
        independent when using avail hook.
   * Lmod 7.4:
     1. Using built-in luafilesystem if system version doesn't exist or < 1.6.2
     2. Support for setting LMOD_SYSHOST with configure.
     3. Sites or users can use italic instead of dim for hidden modules
     4. Detailed spider output reports all dependencies hidden or not.

OBS-URL: https://build.opensuse.org/request/show/533072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=10
2017-10-13 12:14:40 +00:00
c4b3031cba Make lua-lmod Arch-dependent: it hard codes the search path to
.so plugins used by other Lua packages (boo#1061205).

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=24
2017-10-10 16:34:55 +00:00
8a2ea55f9f Accepting request 532209 from home:eeich:branches:network:cluster
- Update to 7.6:
     1. Support for disable <collection_name>
     2. A marked default is honored even if it is hidden
     3. Support for depends_on() as a better way to handle module dependencies.
   * Lmod 7.5:
     1. Added -T, --trace option to report restore, load, unloads and spider.
     2. Report both global and version aliases with module --terse
     	Add Global Aliases output to module avail if they exist.
     3. Support for isVisibleHook (Thanks @wpoely86!) to control whether
     	a module is hidden or not.
     4. Support for "spider -o spider-json" to set the key "hidden"
      to true or false for each module.
     5. Setting LMOD_EXACT_MATCH=yes also turns off the display of (D) with
      avail.
     6. CMake "shell" added.
     7. Added feature that LMOD_TMOD_FIND_FIRST.  A site can decide to force
        FIND_FIRST instead FIND_BEST for NV module layouts.
     Bug Fixes:
     1. Fix bug where Lmod would be unable to load a module where NV and
        NVV module layouts were mixed.
     2. Fix bug where LMOD_CASE_INDEPENDENT_SORTING=yes wasn't case
        independent when using avail hook.
   * Lmod 7.4:
     1. Using built-in luafilesystem if system version doesn't exist or < 1.6.2
     2. Support for setting LMOD_SYSHOST with configure.
     3. Sites or users can use italic instead of dim for hidden modules
     4. Detailed spider output reports all dependencies hidden or not.
     5. Support for fish shell
     6. Move almost all configuration variables from profile.in to bash.in and
        similarly for tcsh.

OBS-URL: https://build.opensuse.org/request/show/532209
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=23
2017-10-06 13:22:07 +00:00
90ea051ca1 Accepting request 531888 from network:cluster
- Fix build for Leap, SLE-12 and SLE-15.
- Remove _service file: the service can be run with
  'osc service run download_files' as well. (forwarded request 531885 from eeich)

OBS-URL: https://build.opensuse.org/request/show/531888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=9
2017-10-06 09:05:11 +00:00
ff4211a9a5 Accepting request 531885 from home:eeich:branches:network:cluster
- Fix build for Leap, SLE-12 and SLE-15.
- Remove _service file: the service can be run with
  'osc service run download_files' as well.

OBS-URL: https://build.opensuse.org/request/show/531885
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=21
2017-10-05 19:09:37 +00:00
5db621b05e Accepting request 530302 from network:cluster
- Make lua-lmod Arch-dependent: it hard codes the search path to
  .so plugins used by other Lua packages (boo#1061205). (forwarded request 530289 from eeich)

OBS-URL: https://build.opensuse.org/request/show/530302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=8
2017-10-02 14:54:45 +00:00
cf3c25a383 Accepting request 530289 from home:eeich:branches:network:cluster
- Make lua-lmod Arch-dependent: it hard codes the search path to
  .so plugins used by other Lua packages (boo#1061205).

OBS-URL: https://build.opensuse.org/request/show/530289
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=19
2017-10-01 19:53:56 +00:00
dcc310fb76 Accepting request 521483 from network:cluster
- Change group of documentation package to Documentation/Other.

OBS-URL: https://build.opensuse.org/request/show/521483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=7
2017-09-07 20:15:33 +00:00
61bf7bc569 - Change group of documentation package to Documentation/Other.
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=17
2017-09-05 15:49:36 +00:00
5e7dc515cf Accepting request 517728 from network:cluster
- Fix group of doc package.
- Change BuildRequires from ohpc to ohpc-macros.

OBS-URL: https://build.opensuse.org/request/show/517728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=6
2017-08-21 09:37:28 +00:00
cbedd0b9d4 - Fix group of doc package.
- Change BuildRequires from ohpc to ohpc-macros.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=15
2017-08-20 05:31:31 +00:00
de62200a10 Accepting request 516846 from home:eeich:branches:network:cluster
- Fix group of devel package.
- Change Requires from ohpc to ohpc-macros.

OBS-URL: https://build.opensuse.org/request/show/516846
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=14
2017-08-14 13:57:34 +00:00
4dc72639c4 Accepting request 515935 from network:cluster
- Fix build: add buildrequires for texlive-latexmk, texlive-makeindex and
      	     texlive-varwidth.

- Prepare for suse default settings (bsc#1053237). (forwarded request 515932 from eeich)

OBS-URL: https://build.opensuse.org/request/show/515935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=5
2017-08-13 12:58:52 +00:00
4cd92c33a8 Accepting request 515932 from home:eeich:branches:network:cluster
- Fix build: add buildrequires for texlive-latexmk, texlive-makeindex and
      	     texlive-varwidth.

- Prepare for suse default settings (bsc#1053237).

OBS-URL: https://build.opensuse.org/request/show/515932
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=12
2017-08-10 14:37:54 +00:00
b79d29b52b Accepting request 506289 from network:cluster
1

OBS-URL: https://build.opensuse.org/request/show/506289
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=4
2017-06-27 08:21:41 +00:00
c16fd823ed Accepting request 506196 from home:dirkmueller:branches:network:cluster
- correct buildrequires for building on Leap 42.3 and on SLE15+

OBS-URL: https://build.opensuse.org/request/show/506196
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=10
2017-06-26 15:44:16 +00:00
a957889655 Accepting request 502809 from network:cluster
- Add profile files for bash and csh. (forwarded request 502427 from eeich)

OBS-URL: https://build.opensuse.org/request/show/502809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=3
2017-06-12 13:34:23 +00:00
9644c0ad61 Accepting request 502427 from home:eeich:branches:network:cluster
- Add profile files for bash and csh.

OBS-URL: https://build.opensuse.org/request/show/502427
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=8
2017-06-10 15:22:50 +00:00
0a9c61d853 Accepting request 486722 from network:cluster
1

OBS-URL: https://build.opensuse.org/request/show/486722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=2
2017-04-12 15:36:40 +00:00
223f9b507b Accepting request 486721 from home:eeich:branches:network:cluster
- Build and package man page and other documentation, create a separate 
  package for additional documentation (bsc#1032970).

OBS-URL: https://build.opensuse.org/request/show/486721
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=6
2017-04-08 10:19:02 +00:00
b7f1be74c2 Accepting request 458675 from network:cluster
OBS-URL: https://build.opensuse.org/request/show/458675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-lmod?expand=0&rev=1
2017-03-04 15:36:53 +00:00
654a5da167 Accepting request 458489 from home:jengelh:branches:network:cluster
- Replace redundant %__ macro indirections

OBS-URL: https://build.opensuse.org/request/show/458489
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=4
2017-02-17 12:45:02 +00:00
70d678da78 * Updated to version 6.5.11:
- All the Lmod programs now resolve any symlinks to the
   actual program before adding to the Lua's package.path
   and package.cpath.
 - Contrib patch: Extend msgHook to LmodError and LmodWarning
 - Now using travis for CI and testing.
 - Configure time option to have Lmod check for magic TCL string in
   modulefiles (#%Module)
 - Lmod now uses a regular expression to match user commands
   to internal commands. For example "av", "ava" or "available"
   will match "avail"
 - Lmod now uses the values of LUA_PATH and LUA_CPATH at
   configuration time.  This way Lmod is safe from user changes
   to these important Lua values.
 - Updated documentation at lmod.readthedocs.org
 - Support for generating xalt_rmapT.json used by XALT.
 - Fixed bug with upcase characters in version file.   
 - It is now possible to configure Lmod to use the spider cache
   when loading (--with-cachedLoads=yes or
   export LMOD_CACHED_LOADS=1 to activate). This is off by
   default. Sites that use this will have to keep their spider
   caches up-to-date or user will not be able to load modules 
   not in the cache.
- It is now possible to configure Lmod to use Legacy Version
  ordering ( --with-legacyOrdering=yes or export
  LMOD_LEGACY_VERSION_ORDERING=1). With legacy ordering 9.0
  is "newer" than 10.0. This is the ordering that Tmod uses.
- Lmod will print admin message (a.k.a nag messages) when   
  doing module whatis <foo> or module help <foo>.  In other 
  words if a nag message would appear with module load <foo>
  then it will also appear when using whatis or help.
- Many improvement in the generation of the lmod database for
  module tracking.
- Numerous bug fixes.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=3
2016-11-21 20:28:47 +00:00
24c5f8bb31 - Setting 'download_files' service to mode='localonly'
and adding source tarball. (Required for Factory).

OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=2
2016-10-17 14:51:05 +00:00
196f852b3e - Initial version of Lmod: 6.0.24
OBS-URL: https://build.opensuse.org/package/show/network:cluster/lua-lmod?expand=0&rev=1
2016-10-16 19:25:58 +00:00
7 changed files with 138 additions and 108 deletions

View File

@@ -1,26 +0,0 @@
From: Egbert Eich <eich@suse.de>
Date: Mon Oct 16 14:51:52 2017 +0200
Subject: Doc: Ugly workaround for bug in Sphinx.
Patch-mainline: never
Git-commit: 2f8d29d20add462e06d316e9e6ff3ed93bca9d52
References:
Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Egbert Eich <eich@suse.com>
---
docs/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/Makefile b/docs/Makefile
index 188360f..b066c68 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -124,6 +124,9 @@ latex:
latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
+ @grep -q "\usepackage{pmboxdraw}" $(BUILDDIR)/latex/Lmod.tex || \
+ sed -ie 's#\\usepackage{cmap}#\\usepackage{cmap} \\usepackage{pmboxdraw}#' \
+ $(BUILDDIR)/latex/Lmod.tex
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

View File

@@ -1,57 +0,0 @@
From: Egbert Eich <eich@suse.com>
Date: Fri Aug 17 21:31:37 2018 +0200
Subject: [Messages] Remove message about creating a consulting ticket.
Patch-mainline: never
Git-commit: a116d2da370874292fb2a5ab6e884eb425c99728
References:
Signed-off-by: Egbert Eich <eich@suse.com>
---
---
messageDir/de.lua | 1 -
messageDir/en.lua | 1 -
messageDir/es.lua | 1 -
messageDir/fr.lua | 2 --
4 files changed, 5 deletions(-)
--- a/messageDir/de.lua
+++ b/messageDir/de.lua
@@ -106,7 +106,6 @@ Verwenden Sie folgendes Kommando, um das
$ module swap %{oldName} %{fullName}
-Falls Sie weitere Unterstützung brauchen, erstellen Sie ein Support-Ticket.
]==],
e_Illegal_Load = nil,
e_Illegal_option = nil,
--- a/messageDir/en.lua
+++ b/messageDir/en.lua
@@ -125,7 +125,6 @@ To correct the situation, please execute
$ module swap %{oldName} %{fullName}
-Please submit a consulting ticket if you require additional assistance.
]==],
e_Illegal_Load = [==[The following module(s) are illegal: %{module_list}
Lmod does not support modulefiles that start with two or more underscores
--- a/messageDir/es.lua
+++ b/messageDir/es.lua
@@ -84,7 +84,6 @@ Para solucionar esta situación, introdu
$ module swap %{oldName} %{fullName}
-Por favor, envíe un ticket si necesita más ayuda.
]==],
e_Illegal_option = nil,
e_Illegal_Load = nil,
--- a/messageDir/fr.lua
+++ b/messageDir/fr.lua
@@ -111,8 +111,6 @@ Pour corriger le problème, vous pouvez
$ module swap %{oldName} %{fullName}
-Merci de bien vouloir soumettre un ticket si vous désirez plus d'assistance.
-
]==],
e_Illegal_Load = nil,
e_Illegal_option = nil,

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:171529152fedfbb3c45d27937b0eaa1ee62b5e5cdac3086f44a6d56e5d1d7da4
size 28072808

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3456ee9182ffcfbacbade3568361acf07d10058d3b55beb01e9b7eb5c3e38d27
size 28114192

3
lua-lmod-8.7.55.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f85ed9b55c23afb563fa99c7201037628be016e8d88a1aa8dba4632c0ab450bd
size 29572901

View File

@@ -1,3 +1,127 @@
-------------------------------------------------------------------
Tue Oct 7 07:10:02 UTC 2025 - Christian Goll <cgoll@suse.com>
- Fix build failure by specifying the path to the lua and luac executables.
-------------------------------------------------------------------
Fri Mar 28 11:57:38 UTC 2025 - Egbert Eich <eich@suse.com>
- Remove python2 support.
-------------------------------------------------------------------
Mon Jan 27 10:27:04 UTC 2025 - Egbert Eich <eich@suse.com>
- Add /usr/share/lmod/%{version}/libexec/addto to the `bash`
Apparmor abstraction to allow it to be executed when setting the
environment when starting non-interactive shells (boo#1236365).
-------------------------------------------------------------------
Fri Jan 3 12:10:22 UTC 2025 - Egbert Eich <eich@suse.com>
- Update to version 8.7.55:
* Version 8.7.38
+ Issue #697: Add warning if doing `module use --help`
+ Make `LMOD_IGNORE_CACHE` use "yes/no" env variable setting
system.
+ Make `module --terse show <module>` do the same as
`module --loc show <module>`, namely print the location of the
module.
+ Support for `module --terse spider phdf5/1.12.2` that just
prints the module in the hierarchy.
+ Move almost almost all `cosmic:value()` calls to inside
function not at routine top-level.
+ Report build time in UTC when `$SOURCE_DATE_EPOCH` is set.
+ Support for downstream conflicts has been added.
+ Support for dynamic `LMOD_MODULERC` has been added.
* Version 8.7.39:
+ Fix busted test for ModuleA.
* Version 8.7.40
+ Bug fix for prepend/append path when trying to add an empty string.
+ Bug fix for `serializeTbl`: handle empty or single blank
string as key.
* Version 8.7.41
+ Added new function `depends_on_any()`:
If `$MODULES_AUTO_HANDLING` is set then
`prereq()` -> `depends_on()`, `prereq_any()` -> `depends_on_any()`
+ Generate a perl pod format for manpage for `module.1`
+ `ModuleTable` modification: Changes to `$MODULEPATH` are
stored in an entry.
* Version 8.7.42
+ Fix setting of `$FPATH` when running bash or ksh shell
and executing `zsh -l`.
* Version 8.7.43
+ Support for ksh flag not needed anymore.
* Version 8.7.44
+ `path2pathA()` keep double delims, Reduce triple delims to double.
* Version 8.7.45
+ Changing `MName.src`: `l_find_highest_by_key()` to loop over
all `fileA` entries. Now stoping at first one found rather than
just looking at `fileA[1]`.
+ Adding `=encoding UTF-8` to pod generation.
* Version 8.7.46
+ Must only add `KSH_SUPPORT` to zsh when both `$orig_zsh_version`
and `$zsh_fpath` have non-null values.
* Version 8.7.47
+ Use correct shell syntax in bash init script.
* Version 8.7.48
+ Keep previous `varT` when restoring a collection.
Otherwise the previous modules env vars are lost and therefore
not purged.
+ Use `__build_FPATH_for_zsh_ksh` to build `FPATH` for both shells.
+ Support for `terse avail` extensions.
* Version 8.7.49
+ Add support for zsh to handle a non-exported `FPATH` in bash
init script.
+ Change `MF_Base:processVars` to use `oldT` to know which paths
from `newA` to prepend or append.
+ Add support for `LMOD_FILE_IGNORE_PATTERNS` in `src/DirTree.lua`.
This is to ignore files like `.version.1.3` or `.modulerc-1.3.lua`
etc.
* Version 8.7.50
+ Emacs lisp integration updated.
+ Use `command -v` instead of checking status `$?`.
+ Change `--hidden_load` to `--hidden-loaded` for TCL change
`hidden_load` to `hidden_loaded` in Lua.
+ Report `dofile()` usage as an error.
+ Updated `FPATH` support: bash, ksh just add path
(`init/ksh_funcs`) to `FPATH`.
+ zsh: if `autoload` and `compinit` fail then set `__zsh_fpath`
with sub-shell.
+ Improve `addto` to not include duplicates in path like
variables (`PATH`, `FPATH`, .. )
+ Add support for `--dumpname` in `lmod` and `ml`; Update tab
completions files.
+ Do not reset `BASH_ENV` if already set for `cshrc.in`.
+ Do not reset `BASH_ENV` if already set for `profile.in`.
+ Support for the functions `hide{}` and `forbid{}`.
* Version 8.7.51
+ Fix bug in load test.
* Version 8.7.52
+ Add `MName:isVisible()` so that load hooks can figure out if
a loaded module is is visible or not.
* Version 8.7.53
+ Updating docs to include link to `165_debugging_lmod.rst`.
* Version 8.7.54
+ Remove all `v.file` tests in dealing with `ModuleA`.
+ Use `self.__mpathT[mpath].hiddenT` and `self.__hiddenT` instead
of merged table for hidden status.
+ Added `mrc:set_display_mode()` before commands.
+ Build reverse maps for `mod2versionT` and `full2aliasesT`
dynamically
+ Added `MRC:pairsForMRC_aliases` iterator.
+ Removed `MRC:__marged_hiddenT`, `MRC:__marged_forbiddenT`
and `MRC:__mergedAlias2modT`.
+ Add support for environment variable `LMOD_SHOW_HIDDEN`.
+ Make TCL files have `spider` as mode matching when Lmod is
in spider mode.
* Version 8.7.55
+ Add a better test for spaces in front of `#`.
- Replace
Messages-Remove-message-about-creating-a-consulting-ticket.patch
by `sed` command.
- Remove Doc-Ugly-workaround-for-bug-in-Sphinx.patch
as it is relevant pre SLE-15 products only.
-------------------------------------------------------------------
Sat Aug 24 14:40:19 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package lua-lmod
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -43,13 +43,13 @@ Name: lua-lmod
Summary: Lua-based Environment Modules used in HPC
License: MIT
Group: Development/Libraries/Other
Version: 8.7.48
Version: 8.7.55
Release: 0
URL: https://github.com/TACC/Lmod
Source0: https://github.com/TACC/Lmod/archive/%{version}.tar.gz#$/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
Patch1: Messages-Remove-message-about-creating-a-consulting-ticket.patch
Patch2: Doc-Ugly-workaround-for-bug-in-Sphinx.patch
#Patch1: Messages-Remove-message-about-creating-a-consulting-ticket.patch
#Patch2: Doc-Ugly-workaround-for-bug-in-Sphinx.patch
BuildRequires: %{lua_pref} >= %{lmod_min_lua_version}
BuildRequires: %{lua_pref}-devel >= %{lmod_min_lua_version}
@@ -66,24 +66,14 @@ Requires: lua%{version_name_suffix %lua_version}-luaterm
Requires: tcl
Requires: (lua-lmod-apparmor-abstractions if apparmor-abstractions)
Conflicts: Modules
%if 0%{suse_version} >= 1550
BuildRequires: python3-Sphinx
%else
BuildRequires: python-Sphinx
%endif
Provides: environment-modules
Provides: lua-lmod-man = %{version}-%{release}
Provides: ml = %{version}
Conflicts: environment-modules
%if 0%{?build_pdf:1}
%if 0%{suse_version} >= 1550
BuildRequires: python3-Sphinx-latex
%else
%if 0%{?sle_version} == 0 || 0%{?sle_version} >= 120300
BuildRequires: python-Sphinx-latex
%endif
%endif
BuildRequires: texlive
BuildRequires: texlive-babel
BuildRequires: texlive-babel-english
@@ -146,10 +136,9 @@ Profile for shell source scripts for lua-lmod
%prep
%setup -q -n Lmod-%{version}
%patch -P 1 -p1
%if 0%{?sle_version:1} && 0%{?sle_version} < 150000
%patch -P 2 -p1
%endif
%autopatch -p1
# Remove message about creating a consulting ticket
sed -i -e '/[T,t]icket/d' messageDir/*.lua
%build
%if 0%{!?build_pdf:1}
@@ -161,7 +150,9 @@ export LUA_PATH="%{lua_path}"
--datadir=%{lua_noarchdir} \
--with-redirect=yes \
--with-autoSwap=no \
--with-fastTCLInterp=no
--with-fastTCLInterp=no \
--with-lua=/usr/bin/lua \
--with-luac=/usr/bin/luac
make
find my_docs/ -name .gitignore -delete
%endif
@@ -285,6 +276,7 @@ cat <<EOF > %{buildroot}%{_sysconfdir}/apparmor.d/abstractions/bash.d/lmod
abi <abi/3.0>,
%_datadir/lmod/%{version}/init/* r,
%_datadir/lmod/%{version}/libexec/addto ix,
EOF
mkdir -p %{buildroot}/%{_mandir}/man1