Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ntfs-3g_ntfsprogs for 
openSUSE:Factory checked in at 2025-06-04 20:26:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntfs-3g_ntfsprogs (Old)
 and      /work/SRC/openSUSE:Factory/.ntfs-3g_ntfsprogs.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ntfs-3g_ntfsprogs"

Wed Jun  4 20:26:39 2025 rev:33 rq:1282232 version:2022.10.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.changes      
2024-06-14 18:59:27.481844546 +0200
+++ 
/work/SRC/openSUSE:Factory/.ntfs-3g_ntfsprogs.new.16005/ntfs-3g_ntfsprogs.changes
   2025-06-04 20:26:46.160548106 +0200
@@ -1,0 +2,7 @@
+Mon Jun  2 21:54:55 UTC 2025 - Martin Schreiner <martin.schrei...@suse.com>
+
+- Migrate away from update-alternatives (bsc#1240095).
+- Upon installation of the newer packages, the old alternatives
+  are purged from the system.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ntfs-3g_ntfsprogs.spec ++++++
--- /var/tmp/diff_new_pack.95vsiH/_old  2025-06-04 20:26:46.756572799 +0200
+++ /var/tmp/diff_new_pack.95vsiH/_new  2025-06-04 20:26:46.756572799 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ntfs-3g_ntfsprogs
 #
-# 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
@@ -52,7 +52,6 @@
 Obsoletes:      ntfsprogs-fuse < 1.13.1
 %if 0%{?suse_version}
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
 Supplements:    filesystem(ntfs-3g)
 %endif
 
@@ -132,10 +131,8 @@
 mv %{buildroot}/sbin/* %{buildroot}%{_sbindir}
 %endif
 rm -v %{buildroot}%{_libdir}/libntfs-3g.la
-# Alternatives for mount.ntfs (binary and manpage)
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -s -f %{_sysconfdir}/alternatives/mount.ntfs 
%{buildroot}%{sbindir}/mount.ntfs
-ln -s -f %{_sysconfdir}/alternatives/mount.ntfs.8%{ext_man} 
%{buildroot}%{_mandir}/man8/mount.ntfs.8%{?ext_man}
+ln -s -f %{sbindir}/mount.ntfs-3g %{buildroot}%{sbindir}/mount.ntfs
+ln -s -f %{_mandir}/man8/mount.ntfs-3g.8%{?ext_man} 
%{buildroot}%{_mandir}/man8/mount.ntfs.8%{?ext_man}
 
 %check
 TESTFS=$(mktemp) || exit 1
@@ -145,12 +142,6 @@
 rm -v $TESTFS
 
 %post -n ntfs-3g
-# If the mount.ntfs group is in automatic mode, then this will also switch all
-# symlinks automatically
-update-alternatives --install %{sbindir}/mount.ntfs mount.ntfs 
%{sbindir}/mount.ntfs-3g 10 \
-  --slave %{_mandir}/man8/mount.ntfs.8%{?ext_man} mount.ntfs.8%{?ext_man} 
%{_mandir}/man8/mount.ntfs-3g.8%{?ext_man}
-
-%postun -n ntfs-3g
 # Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
 if [ ! -f %{sbindir}/mount.ntfs-3g ]; then
   update-alternatives --remove mount.ntfs %{sbindir}/mount.ntfs-3g
@@ -168,8 +159,6 @@
 %{_bindir}/ntfsusermap
 %{_bindir}/lowntfs-3g
 %{sbindir}/mount.ntfs
-%ghost %{_sysconfdir}/alternatives/mount.ntfs
-%ghost %{_sysconfdir}/alternatives/mount.ntfs.8%{?ext_man}
 %{sbindir}/mount.ntfs-3g
 %{sbindir}/mount.lowntfs-3g
 %{_mandir}/man8/mount.lowntfs-3g.8%{?ext_man}

Reply via email to