Hello community,

here is the log from the commit of package slurm for openSUSE:Factory checked 
in at 2018-12-07 14:34:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slurm (Old)
 and      /work/SRC/openSUSE:Factory/.slurm.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "slurm"

Fri Dec  7 14:34:03 2018 rev:22 rq:655559 version:18.08.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/slurm/slurm.changes      2018-12-04 
20:57:28.480643535 +0100
+++ /work/SRC/openSUSE:Factory/.slurm.new.19453/slurm.changes   2018-12-07 
14:34:11.859160647 +0100
@@ -1,0 +2,5 @@
+Wed Dec  5 16:00:50 UTC 2018 - Christian Goll <cg...@suse.com>
+
+- fixed code in %pretrans section to be compatible with lua 5.1  
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ slurm.spec ++++++
--- /var/tmp/diff_new_pack.BubuAA/_old  2018-12-07 14:34:12.887159372 +0100
+++ /var/tmp/diff_new_pack.BubuAA/_new  2018-12-07 14:34:12.891159368 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -593,8 +593,13 @@
 }
 %define _test_rest() %{?with_systemd: os.remove("/run/%{1}.rst")
  if os.execute() and os.getenv("YAST_IS_RUNNING") ~= "instsys" then
-  if os.execute("systemctl status %{1} &>/dev/null") then 
-    f=io.open("/run/%{1}.rst","w"); f:close() 
+  local handle = io.popen("systemctl is-enabled %{1} 2>&1")
+  local str = handle:read("*a"); handle:close()
+  str = string.gsub(str, '^%%s+', '')
+  str = string.gsub(str, '%%s+$', '')
+  str = string.gsub(str, '[\\n\\r]+', ' ')
+  if str == "enabled" then
+    local file = io.open("/run/%{1}.rst","w"); file:close() 
   end
  end
 }


Reply via email to