Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rook for openSUSE:Factory checked in 
at 2022-02-17 23:39:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rook (Old)
 and      /work/SRC/openSUSE:Factory/.rook.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rook"

Thu Feb 17 23:39:54 2022 rev:25 rq:955388 version:1.6.2+git0.ge8fd65f08

Changes:
--------
--- /work/SRC/openSUSE:Factory/rook/rook.changes        2021-05-13 
22:18:30.283595693 +0200
+++ /work/SRC/openSUSE:Factory/.rook.new.1958/rook.changes      2022-02-17 
23:40:40.175700844 +0100
@@ -1,0 +2,5 @@
+Thu Feb 10 21:11:41 UTC 2022 - Dirk M??ller <[email protected]>
+
+- avoid bashism in post scripts (bsc#1195391) 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ rook.spec ++++++
--- /var/tmp/diff_new_pack.JDHQbi/_old  2022-02-17 23:40:41.183700835 +0100
+++ /var/tmp/diff_new_pack.JDHQbi/_new  2022-02-17 23:40:41.195700835 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rook
 #
-# 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
@@ -71,6 +71,7 @@
 
################################################################################
 # Rook FlexVolume driver metadata
 
################################################################################
+
 %package rookflex
 Summary:        Rook FlexVolume driver
 Group:          System/Filesystems
@@ -82,6 +83,7 @@
 
################################################################################
 # Rook and Ceph manifests metadata
 
################################################################################
+
 %package k8s-yaml
 Summary:        Kubernetes YAML file manifests for deploying a Ceph cluster
 Group:          System/Management
@@ -95,6 +97,7 @@
 
################################################################################
 # Rook ceph operator helm charts
 
################################################################################
+
 %package ceph-helm-charts
 Summary:        Rook Ceph operator helm charts
 Group:          System/Management
@@ -112,6 +115,7 @@
 
################################################################################
 # Rook integration test binary metadata
 
################################################################################
+
 %package integration
 Summary:        Application which runs Rook integration tests
 Group:          System/Benchmark
@@ -328,19 +332,19 @@
 # Specify which files we built belong to each package
 
################################################################################
 %files
-%defattr(-,root,root,-)
 %{_bindir}/rook
 %{_bindir}/toolbox.sh
 %config %{_sysconfdir}/ceph-csi
+
 # Due to upstream's use of /usr/local/bin in their example yamls, create
 # symlinks to avoid a difficult to find configuration problem
 %post
-[[ -e /usr/local/bin/toolbox.sh ]] || ln -s %{_bindir}/toolbox.sh 
/usr/local/bin/toolbox.sh
-[[ -e /usr/local/bin/rook ]] || ln -s %{_bindir}/rook /usr/local/bin/rook
+[ -e %{_prefix}/local/bin/toolbox.sh ] || ln -s %{_bindir}/toolbox.sh 
%{_prefix}/local/bin/toolbox.sh
+[ -e %{_prefix}/local/bin/rook ] || ln -s %{_bindir}/rook 
%{_prefix}/local/bin/rook
 
 %postun
-[[ -e /usr/local/bin/toolbox.sh ]] && rm /usr/local/bin/toolbox.sh
-[[ -e /usr/local/bin/rook ]] && rm /usr/local/bin/rook
+[ -e %{_prefix}/local/bin/toolbox.sh ] && rm %{_prefix}/local/bin/toolbox.sh
+[ -e %{_prefix}/local/bin/rook ] && rm %{_prefix}/local/bin/rook
 
 %files rookflex
 %{_bindir}/rookflex

Reply via email to