Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubernetes1.18 for openSUSE:Factory 
checked in at 2022-03-13 20:24:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubernetes1.18 (Old)
 and      /work/SRC/openSUSE:Factory/.kubernetes1.18.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubernetes1.18"

Sun Mar 13 20:24:44 2022 rev:19 rq:960745 version:1.18.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubernetes1.18/kubernetes1.18.changes    
2021-07-30 23:21:59.499648598 +0200
+++ /work/SRC/openSUSE:Factory/.kubernetes1.18.new.25692/kubernetes1.18.changes 
2022-03-13 20:24:48.171629635 +0100
@@ -1,0 +2,5 @@
+Mon Feb  7 16:21:21 UTC 2022 - Dirk M??ller <[email protected]>
+
+- avoid bashism in client-common postinstall script (bsc#1195391)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ kubernetes1.18.spec ++++++
--- /var/tmp/diff_new_pack.QgQDSt/_old  2022-03-13 20:24:48.823630403 +0100
+++ /var/tmp/diff_new_pack.QgQDSt/_new  2022-03-13 20:24:48.827630407 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package kubernetes1.18
+# spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -69,8 +69,8 @@
 It groups containers that make up an application into logical units
 for management and discovery.
 
-# packages to build containerized control plane
 
+# packages to build containerized control plane
 %if 0%{?sle_version} == 0 || 0%{?is_opensuse}
 %package apiserver
 Summary:        Kubernetes apiserver for container image
@@ -162,7 +162,7 @@
 Provides:       kubernetes-client-provider = %{version}
 Requires:       kubernetes-client-common >= %{version} 
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 Conflicts:      kubernetes-client < %{baseversion}
 Obsoletes:      kubernetes-%{baseversion}-client < %{version}
 
@@ -326,9 +326,8 @@
 %fdupes -s %{buildroot}
 
 %post client-common
-export baseversion="%{baseversion}"
 %{_sbindir}/update-alternatives \
-  --install %{_bindir}/kubectl kubectl %{_bindir}/kubectl%{baseversion} 
${baseversion/./}
+  --install %{_bindir}/kubectl kubectl %{_bindir}/kubectl%{baseversion} %(echo 
%{baseversion} | tr -d .)
 
 %postun client-common
 if [ ! -f %{_bindir}/kubectl%{baseversion} ] ; then

Reply via email to