Hello community,

here is the log from the commit of package yp-tools for openSUSE:Factory 
checked in at 2020-10-20 16:00:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yp-tools (Old)
 and      /work/SRC/openSUSE:Factory/.yp-tools.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yp-tools"

Tue Oct 20 16:00:31 2020 rev:32 rq:842073 version:4.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/yp-tools/yp-tools.changes        2020-08-29 
20:42:22.849465928 +0200
+++ /work/SRC/openSUSE:Factory/.yp-tools.new.3486/yp-tools.changes      
2020-10-20 16:03:41.677818985 +0200
@@ -1,0 +2,6 @@
+Wed Sep 16 07:36:20 UTC 2020 - Martin Wilck <mwi...@suse.com>
+
+- Fix dangling /var/yp/nicknames symlink after update
+  (boo#1176526) 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ yp-tools.spec ++++++
--- /var/tmp/diff_new_pack.7uJDOg/_old  2020-10-20 16:03:43.073819646 +0200
+++ /var/tmp/diff_new_pack.7uJDOg/_new  2020-10-20 16:03:43.077819648 +0200
@@ -54,6 +54,13 @@
 %find_lang %{name}
 %fdupes %{buildroot}/%{_prefix}
 
+%post
+# Remove symlink pointing to old location (4.2.3-1.8 and older)
+if [ "$1" = "2" ] && test -L %{_localstatedir}/yp/nicknames \
+       && [ "$(readlink %{_localstatedir}/yp/nicknames)" = 
../../usr/lib/yp/nicknames ]; then
+    rm -f %{_localstatedir}/yp/nicknames
+fi
+
 %postun
 if [ "$1" = "0" ]; then
    test -L %{_localstatedir}/yp/nicknames && rm -f 
%{_localstatedir}/yp/nicknames ||:



Reply via email to