File bsc-1069457-detect-caasp-docker.patch of Package supportutils.7192

diff --unified -r supportutils-3.0-orig/bin/supportconfig supportutils-3.0/bin/supportconfig
--- supportutils-3.0-orig/bin/supportconfig	2018-02-09 14:50:35.708955151 +0000
+++ supportutils-3.0/bin/supportconfig	2018-02-09 14:54:55.689512074 +0000
@@ -2806,7 +2806,9 @@
 	test $OPTION_DOCKER -eq 0 && { echolog Excluded; return 1; }
 	OF=docker.txt
 	addHeaderFile $OF
-	if rpm_verify $OF docker
+	[[ -e /usr/bin/docker ]] && DOCKER_PKG=`rpm -q --whatprovides /usr/bin/docker 2>/dev/null`
+	[[ -z $DOCKER_PKG ]] && DOCKER_PKG='docker'
+	if rpm_verify $OF $DOCKER_PKG
 	then
 		log_cmd $OF 'docker version'
 		log_cmd $OF "systemctl status docker.service"
Only in supportutils-3.0/bin: supportconfig.orig
diff --unified -r supportutils-3.0-orig/spec/supportutils.changes supportutils-3.0/spec/supportutils.changes
--- supportutils-3.0-orig/spec/supportutils.changes	2018-02-09 14:50:35.708955151 +0000
+++ supportutils-3.0/spec/supportutils.changes	2018-02-09 14:50:44.369097872 +0000
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Fri Jan 19 18:46:58 UTC 2018 - jason.record@suse.com
+
+- Fixed docker package detection (bsc#1069457)
+
+-------------------------------------------------------------------
 Fri Jan  5 20:49:05 UTC 2018 - jason.record@suse.com
 
 - Infinibad looks for rdma-core now (bsc#1051237)
Only in supportutils-3.0/spec: supportutils.changes.orig
openSUSE Build Service is sponsored by