Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package valkey for openSUSE:Factory checked 
in at 2024-11-26 20:54:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/valkey (Old)
 and      /work/SRC/openSUSE:Factory/.valkey.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "valkey"

Tue Nov 26 20:54:46 2024 rev:9 rq:1226273 version:8.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/valkey/valkey.changes    2024-10-18 
15:49:59.861036752 +0200
+++ /work/SRC/openSUSE:Factory/.valkey.new.28523/valkey.changes 2024-11-26 
20:54:47.103648338 +0100
@@ -1,0 +2,5 @@
+Tue Oct 22 09:03:52 UTC 2024 - Dirk Müller <dmuel...@suse.com>
+
+- fix requires for compat-redis package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ valkey.spec ++++++
--- /var/tmp/diff_new_pack.jZGjM8/_old  2024-11-26 20:54:48.487706048 +0100
+++ /var/tmp/diff_new_pack.jZGjM8/_new  2024-11-26 20:54:48.491706214 +0100
@@ -82,6 +82,7 @@
 Conflicts:      redis
 Obsoletes:      redis <= 7.2.5
 Provides:       redis = %{version}-%{release}
+Requires(post): /usr/bin/find
 BuildArch:      noarch
 
 %description    compat-redis

++++++ migrate_redis_to_valkey.bash ++++++
--- /var/tmp/diff_new_pack.jZGjM8/_old  2024-11-26 20:54:48.547708549 +0100
+++ /var/tmp/diff_new_pack.jZGjM8/_new  2024-11-26 20:54:48.547708549 +0100
@@ -17,19 +17,21 @@
   sed -e 's|^logfile\s/var/log/redis/|logfile /var/log/valkey/|g' -i 
/etc/valkey/*.conf
   echo "/etc/redis/*.conf has been copied to /etc/valkey.  Manual review of 
adjusted configs is strongly suggested."
 fi
-if [ ${#redisunits[@]} -gt 0 ]; then
-  for redisunit in ${redisunits[@]}
-  do
-      systemctl disable "${redisunit}"
-      systemctl enable "valkey@${redisunit##*@}"
-  done
-fi
-if [ ${#sentinelunits[@]} -gt 0 ]; then
-  for sentinelunit in ${sentinelunits[@]}
-  do
-      systemctl disable "${sentinelunit}"
-      systemctl enable "valkey-sentinel@${sentinelunit##*@}"
-  done
+if test -x /usr/bin/systemctl; then
+  if [ ${#redisunits[@]} -gt 0 ]; then
+    for redisunit in ${redisunits[@]}
+    do
+        systemctl disable "${redisunit}"
+        systemctl enable "valkey@${redisunit##*@}"
+    done
+  fi
+  if [ ${#sentinelunits[@]} -gt 0 ]; then
+    for sentinelunit in ${sentinelunits[@]}
+    do
+        systemctl disable "${sentinelunit}"
+        systemctl enable "valkey-sentinel@${sentinelunit##*@}"
+    done
+  fi
 fi
 if [ -d /var/lib/redis ]; then
   cp -r /var/lib/redis/* /var/lib/valkey/

Reply via email to