Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libcontainers-common for 
openSUSE:Factory checked in at 2022-06-17 21:18:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcontainers-common (Old)
 and      /work/SRC/openSUSE:Factory/.libcontainers-common.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcontainers-common"

Fri Jun 17 21:18:27 2022 rev:47 rq:982766 version:20210626

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libcontainers-common/libcontainers-common.changes    
    2022-06-09 14:09:56.772379500 +0200
+++ 
/work/SRC/openSUSE:Factory/.libcontainers-common.new.1548/libcontainers-common.changes
      2022-06-17 21:18:36.906646550 +0200
@@ -1,0 +2,11 @@
+Wed Jun 15 10:20:16 UTC 2022 - Fabian Vogt <fv...@suse.com>
+
+- Use $() again in %post, but with a space for POSIX compliance
+
+-------------------------------------------------------------------
+Tue Jun 14 13:53:43 UTC 2022 - Dan ??erm??k <dcer...@suse.com>
+
+- Add missing Requires(post): sed, fixes boo#1200524
+- Make %post compatible with dash
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libcontainers-common.spec ++++++
--- /var/tmp/diff_new_pack.c2dBS4/_old  2022-06-17 21:18:37.590646921 +0200
+++ /var/tmp/diff_new_pack.c2dBS4/_new  2022-06-17 21:18:37.594646923 +0200
@@ -53,7 +53,8 @@
 Obsoletes:      libcontainers-image < %{version}
 Obsoletes:      libcontainers-storage < %{version}
 Requires(post): util-linux-systemd
-Requires(post): grep
+Requires(post): /usr/bin/grep
+Requires(post): /usr/bin/sed
 BuildArch:      noarch
 
 %description
@@ -138,7 +139,8 @@
 # If installing, check if /var/lib/containers (or /var/lib in its defect) is 
btrfs and set driver
 # to "btrfs" if true
 if [ $1 -eq 1 ] ; then
-  fstype=$((findmnt -o FSTYPE -l --target /var/lib/containers || findmnt -o 
FSTYPE -l --target /var/lib) | grep -v FSTYPE)
+  # Space to avoid ambiguity with arithmetic expansion
+  fstype=$( (findmnt -o FSTYPE -l --target /var/lib/containers || findmnt -o 
FSTYPE -l --target /var/lib) | grep -v FSTYPE)
   if [ "$fstype" = "btrfs" ]; then
     sed -i 's/driver = "overlay"/driver = "btrfs"/g' 
%{_sysconfdir}/containers/storage.conf
   fi

Reply via email to