Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package drbd-utils for openSUSE:Factory 
checked in at 2023-03-13 12:40:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/drbd-utils (Old)
 and      /work/SRC/openSUSE:Factory/.drbd-utils.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "drbd-utils"

Mon Mar 13 12:40:49 2023 rev:53 rq:1071089 version:9.19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/drbd-utils/drbd-utils.changes    2023-01-03 
15:06:27.358891787 +0100
+++ /work/SRC/openSUSE:Factory/.drbd-utils.new.31432/drbd-utils.changes 
2023-03-13 12:41:27.895907139 +0100
@@ -1,0 +2,6 @@
+Fri Mar 10 07:42:09 UTC 2023 - Nicholas Yang <nicholas.y...@suse.com>
+
+- bsc#1208922: fails to replace directory /lib/drbd with symlink
+  * modify drbd-utils.spec to rename it in pretrans script
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ drbd-utils.spec ++++++
--- /var/tmp/diff_new_pack.T0CnDw/_old  2023-03-13 12:41:28.535910528 +0100
+++ /var/tmp/diff_new_pack.T0CnDw/_new  2023-03-13 12:41:28.543910570 +0100
@@ -141,8 +141,20 @@
 
 rm -rf %{buildroot}%{libdir}/drbd/crm-*fence-peer.sh     # bsc#1204276
 
+%if 0%{?suse_version} < 1550
+    # create symlink for bsc#1206364
+    rmdir %{buildroot}/lib/drbd
+    ln -sf %{libdir}/drbd %{buildroot}/lib/drbd
+%endif
+
 %pre
 %service_add_pre %{services}
+%if 0%{?suse_version} < 1550
+if [ ! -L /lib/drbd ] && [ -d /lib/drbd ]; then
+    rm -rf /lib/drbd.rpmmoved
+    mv /lib/drbd /lib/drbd.rpmmoved
+fi
+%endif
 
 %post
 %tmpfiles_create %{_tmpfilesdir}/drbd.conf
@@ -159,10 +171,6 @@
   ln -sf drbdmon-9.0.8.gz %{_mandir}/man8/drbdmon.8.gz
   ln -sf drbdmon-9.0.8.gz %{_mandir}/ja/man8/drbdmon.8.gz
 %endif
-%if 0%{?suse_version} < 1550
-  # create symbolic folder for bsc#1206364
-  ln -s /usr/lib/drbd /lib/drbd 
-%endif
 
 %preun
 %service_del_preun %{services}
@@ -190,6 +198,11 @@
 %dir %{_sysconfdir}/multipath
 %dir %{_sysconfdir}/multipath/conf.d
 %{libdir}/drbd
+%if 0%{?suse_version} < 1550
+    # symlink for bsc#1206364
+    /lib/drbd
+    %ghost /lib/drbd.rpmmoved
+%endif
 %{sbindir}/drbdadm
 %{sbindir}/drbdsetup
 %{sbindir}/drbdmeta

Reply via email to