Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tar for openSUSE:Factory checked in 
at 2025-06-01 21:36:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tar (Old)
 and      /work/SRC/openSUSE:Factory/.tar.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tar"

Sun Jun  1 21:36:04 2025 rev:86 rq:1281225 version:1.35

Changes:
--------
--- /work/SRC/openSUSE:Factory/tar/tar.changes  2024-07-17 15:15:02.461825908 
+0200
+++ /work/SRC/openSUSE:Factory/.tar.new.16005/tar.changes       2025-06-01 
21:36:09.676313361 +0200
@@ -1,0 +2,8 @@
+Thu May 29 19:52:40 UTC 2025 - Martin Schreiner <martin.schrei...@suse.com>
+
+- Migrate away from update-alternatives (bsc#1240101).
+  tar-rmt now conflicts with other providers of /usr/bin/rmt.
+- Upon installation of the newer packages, the tar-rmt alternatives
+  are purged from the system.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ tar.spec ++++++
--- /var/tmp/diff_new_pack.vrA9YN/_old  2025-06-01 21:36:10.524348487 +0200
+++ /var/tmp/diff_new_pack.vrA9YN/_new  2025-06-01 21:36:10.528348653 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tar
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -88,8 +88,8 @@
 Summary:        Remote tape drive control server by GNU
 Group:          Productivity/Archiving/Backup
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
 Provides:       rmt
+Conflicts:      rmt
 
 %description rmt
 Provides remote access to files and devices for tar, cpio
@@ -152,10 +152,6 @@
 rm %{buildroot}%{_localstatedir}/lib/tests/tar/*.{c,h,o}
 rm %{buildroot}%{_localstatedir}/lib/tests/tar/package.m4
 rm %{buildroot}%{_localstatedir}/lib/tests/tar/{atconfig,atlocal,Makefile}*
-# Alternatives system
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -sf %{_sysconfdir}/alternatives/rmt %{buildroot}%{_bindir}/rmt
-ln -sf %{_sysconfdir}/alternatives/rmt.1%{ext_man} 
%{buildroot}%{_mandir}/man1/rmt.1%{ext_man}
 %if 0%{?suse_version} < 1550
 mkdir -p %{buildroot}/bin
 ln -s %{_bindir}/%{name} %{buildroot}/bin
@@ -163,11 +159,6 @@
 %find_lang %{name}
 
 %post rmt
-%{_sbindir}/update-alternatives --force \
-    --install %{_bindir}/rmt rmt %{_bindir}/gnurmt 10 \
-    --slave %{_mandir}/man1/rmt.1%{ext_man} rmt.1%{ext_man} 
%{_mandir}/man1/gnurmt.1%{ext_man}
-
-%postun rmt
 if [ ! -f %{_bindir}/gnurmt ] ; then
    "%{_sbindir}/update-alternatives" --remove rmt %{_bindir}/gnurmt
 fi
@@ -191,8 +182,6 @@
 %{_bindir}/gnurmt
 %ghost %{_mandir}/man1/rmt.1%{ext_man}
 %{_mandir}/man1/gnurmt.1%{?ext_man}
-%ghost %{_sysconfdir}/alternatives/rmt
-%ghost %{_sysconfdir}/alternatives/rmt.1%{ext_man}
 
 %files doc
 %dir %{_docdir}/%{name}

Reply via email to