Hello community,

here is the log from the commit of package lua-lmod for openSUSE:Factory 
checked in at 2019-02-24 17:06:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-lmod (Old)
 and      /work/SRC/openSUSE:Factory/.lua-lmod.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-lmod"

Sun Feb 24 17:06:58 2019 rev:14 rq:674755 version:7.8.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-lmod/lua-lmod.changes        2018-08-28 
09:24:24.948822651 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lmod.new.28833/lua-lmod.changes     
2019-02-24 17:07:04.336575532 +0100
@@ -1,0 +2,43 @@
+Wed Feb 13 09:58:06 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Declare bash-specific nature of build recipe.
+
+-------------------------------------------------------------------
+Fri Jan 25 17:09:15 UTC 2019 - [email protected]
+
+- 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
+      loadable file
+      contrib/tracking_module_usage python scripts have been updated to
+      support python2 and python3
+- Fix shbang line in scripts.
+
+-------------------------------------------------------------------

Old:
----
  lua-lmod-7.8.1.tar.gz

New:
----
  lua-lmod-7.8.15.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lua-lmod.spec ++++++
--- /var/tmp/diff_new_pack.I9mysR/_old  2019-02-24 17:07:05.080575178 +0100
+++ /var/tmp/diff_new_pack.I9mysR/_new  2019-02-24 17:07:05.084575177 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lua-lmod
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,11 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global flavor @BUILD_FLAVOR@%{nil}
+%define _buildshell /bin/bash
 
 %if "%flavor" == ""
 %undefine build_doc
@@ -48,7 +49,7 @@
 Summary:        Lua-based Environment Modules
 License:        MIT
 Group:          Development/Libraries/Other
-Version:        7.8.1
+Version:        7.8.15
 Release:        0
 Url:            https://github.com/TACC/Lmod
 %if 0%{?ohpc}
@@ -183,6 +184,17 @@
 rm -f %{buildroot}/%{_datadir}/lmod/%{version}/settarg/Version.lua 
 ln -s %{_datadir}/lmod/%{version}/libexec/Version.lua 
%{buildroot}/%{_datadir}/lmod/%{version}/settarg/Version.lua
 
+for file in $(find %{buildroot}%{_datadir}/lmod); do
+    [ -f "$file" ] || continue
+    line=$(head -1 $file)
+    if [[ $line =~ \#\!.*bin/env ]]; then
+       case $line in
+           *bash) newline="#! /bin/bash" ;;
+           *) newline="#! /usr/bin/${line##*/env* }" ;;
+       esac
+       sed -i "1s,^.*,${newline}\n," $file
+    fi
+done
 mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
 cat <<EOF >%{buildroot}/%{_sysconfdir}/profile.d/lmod.sh
 # -*- shell-script -*-
@@ -255,16 +267,9 @@
  %endif
 %endif
 
-%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
-%define my_license %license 
-%else 
-%define my_license %doc 
-%endif
-
 %if 0%{!?build_doc:1}
 %files
-%defattr(-,root,root,-)
-%my_license License
+%license License
 %doc README.*
 %config %{_sysconfdir}/profile.d/lmod.sh
 %config %{_sysconfdir}/profile.d/lmod.csh
@@ -279,14 +284,12 @@
 
 %if 0%{?build_pdf}
 %files doc
-%defattr(-,root,root,-)
 %doc my_docs/*.txt my_docs/*.pdf my_docs/*.md
 %doc docs/build/latex/Lmod.pdf
 %endif
 
 %if 0%{?build_man}
 %files man
-%defattr(-,root,root,-)
 %{_mandir}/man1/lmod.1.*
 %endif
 

++++++ lua-lmod-7.8.1.tar.gz -> lua-lmod-7.8.15.tar.gz ++++++
/work/SRC/openSUSE:Factory/lua-lmod/lua-lmod-7.8.1.tar.gz 
/work/SRC/openSUSE:Factory/.lua-lmod.new.28833/lua-lmod-7.8.15.tar.gz differ: 
char 13, line 1


Reply via email to