Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mawk for openSUSE:Factory checked in 
at 2021-02-04 20:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mawk (Old)
 and      /work/SRC/openSUSE:Factory/.mawk.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mawk"

Thu Feb  4 20:24:40 2021 rev:21 rq:869480 version:1.3.4.20200120

Changes:
--------
--- /work/SRC/openSUSE:Factory/mawk/mawk.changes        2021-01-27 
18:59:16.932530621 +0100
+++ /work/SRC/openSUSE:Factory/.mawk.new.28504/mawk.changes     2021-02-04 
20:25:11.966929056 +0100
@@ -1,0 +2,6 @@
+Thu Feb  4 10:41:36 UTC 2021 - Ludwig Nussel <[email protected]>
+
+- fix update-alternatives usage. Needs to be in %postun according to
+  
https://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines#update-alternatives_mechanism
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mawk.spec ++++++
--- /var/tmp/diff_new_pack.y20dLE/_old  2021-02-04 20:25:12.738930231 +0100
+++ /var/tmp/diff_new_pack.y20dLE/_new  2021-02-04 20:25:12.742930236 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mawk
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2010 Guido Berhoerster.
 #
 # All modifications and additions to the file contributed by third parties
@@ -83,8 +83,8 @@
 %endif
   --slave %{_mandir}/man1/awk.1.gz awk.1%{?ext_man} 
%{_mandir}/man1/mawk.1%{?ext_man}
 
-%preun
-if [ $1 -eq 0 ]; then
+%postun
+if [ ! -f %{_bindir}/mawk ]; then
     %{_sbindir}/update-alternatives --remove awk %{_bindir}/mawk
 fi
 

Reply via email to