Hello community,

here is the log from the commit of package gobby for openSUSE:Factory checked 
in at 2017-09-21 12:34:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gobby (Old)
 and      /work/SRC/openSUSE:Factory/.gobby.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gobby"

Thu Sep 21 12:34:49 2017 rev:44 rq:527113 version:0.5.1+20170204.e5c2d14

Changes:
--------
--- /work/SRC/openSUSE:Factory/gobby/gobby.changes      2017-08-30 
16:24:49.951738086 +0200
+++ /work/SRC/openSUSE:Factory/.gobby.new/gobby.changes 2017-09-21 
12:34:57.546302901 +0200
@@ -1,0 +2,10 @@
+Mon Sep 18 16:04:14 UTC 2017 - [email protected]
+
+- Drop update-alternative usage: we only have one version of gobby
+  available and there is no merit in the complexity anymore
+  (obsoletes boo#994272).
+- Disable current post/postun scripts on suse_version >= 1330: the
+  desktop_database and icon_theme scriptlets have been obsoleted by
+  respective file triggers.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gobby.spec ++++++
--- /var/tmp/diff_new_pack.B9zVM1/_old  2017-09-21 12:34:59.318053574 +0200
+++ /var/tmp/diff_new_pack.B9zVM1/_new  2017-09-21 12:34:59.322053010 +0200
@@ -48,12 +48,6 @@
 BuildRequires:  pkgconfig(gtkmm-3.0)
 BuildRequires:  pkgconfig(gtksourceview-3.0)
 %endif
-# The build service fails to build the package because it doesn't really
-# understand Requires(post), so use PreReq too (see bnc#439232).
-%if %defined suse_version
-# FIXME: use proper Requires(pre/post/preun/...)
-PreReq:         update-alternatives
-%endif
 
 %description
 This is a collaborative editor, which means that it provides
@@ -88,24 +82,19 @@
 %suse_update_desktop_file -N "Gobby" -G "Collaborative Editor" 
%{_versioned_name} X-SuSE-Core-Internet
 %fdupes %{buildroot}
 
+%if 0%{?suse_version} < 1330
 %post
-# If the %%{name} group is in automatic mode, then this will also switch all
-# symlinks automatically
-update-alternatives --install %{_bindir}/%{name} %{name} 
%{_bindir}/%{name}-0.5 5 --slave %{_mandir}/man1/%{name}.1.gz %{name}.1.gz 
%{_mandir}/man1/%{name}-0.5.1.gz
 %desktop_database_post
 %icon_theme_cache_post
 %icon_theme_cache_post HighContrastLargePrint
 %icon_theme_cache_post HighContrastLargePrintInverse
 
 %postun
-# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
-if [ ! -f %{_bindir}/%{name}-0.5 ]; then
-update-alternatives --remove %{name} %{_bindir}/%{name}-0.5
-fi
 %desktop_database_postun
 %icon_theme_cache_postun
 %icon_theme_cache_postun HighContrastLargePrint
 %icon_theme_cache_postun HighContrastLargePrintInverse
+%endif
 
 %files
 %defattr (-, root, root)


Reply via email to