commit ntfs-3g for openSUSE:Factory
Hello community, here is the log from the commit of package ntfs-3g for openSUSE:Factory checked in at Tue Dec 8 12:02:02 CET 2009. -------- --- ntfs-3g/ntfs-3g.changes 2009-05-09 14:14:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/ntfs-3g/ntfs-3g.changes 2009-12-07 13:20:29.000000000 +0100 @@ -1,0 +2,12 @@ +Mon Dec 7 13:17:33 CET 2009 - vuntz@opensuse.org + +- Rework the update-alternatives part to be really correct, even in + case of package renaming. Note that we need a %posttrans to work + around bugs in previously installed packages. + +------------------------------------------------------------------- +Thu Oct 29 18:00:09 UTC 2009 - crrodriguez@opensuse.org + +- fix buggy calls to update-alternatives part of [bnc#544199] + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntfs-3g.spec ++++++ --- /var/tmp/diff_new_pack.QISRjd/_old 2009-12-08 12:01:51.000000000 +0100 +++ /var/tmp/diff_new_pack.QISRjd/_new 2009-12-08 12:01:51.000000000 +0100 @@ -20,10 +20,10 @@ Name: ntfs-3g Summary: Linux NTFS-3G userspace filesystem with full write support Version: 2009.4.4 -Release: 2 +Release: 3 Provides: ntfsprogs-fuse = 1.13.1 Obsoletes: ntfsprogs-fuse <= 1.13.1 -License: GPL v2 or later +License: GPLv2+ Group: System/Filesystems Source: %{name}-%{version}.tar.bz2 Source1: buildall.sh @@ -91,7 +91,7 @@ Szabolcs Szakacsits %package devel -License: GPL v2 or later +License: GPLv2+ Summary: Development files and libraries for ntfs-3g Group: System/Filesystems Requires: %{name} = %{version} glibc-devel @@ -164,11 +164,23 @@ %{_libdir}/pkgconfig/libntfs-3g.pc %post +# If the mount.ntfs group is in automatic mode, then this will also switch all +# symlinks automatically update-alternatives --install /sbin/mount.ntfs mount.ntfs /sbin/mount.ntfs-3g 10 --slave /usr/share/man/man8/mount.ntfs.8.gz mount.ntfs.8.gz /usr/share/man/man8/mount.ntfs-3g.8.gz /sbin/ldconfig %postun -update-alternatives --remove mount.ntfs /sbin/mount.ntfs-3g +# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed +if [ ! -f /sbin/mount.ntfs-3g ]; then + update-alternatives --remove mount.ntfs /sbin/mount.ntfs-3g +fi /sbin/ldconfig +%posttrans +# Workaround old bug in 11.1/11.2 packages that always removed the symlinks in +# %postun. Can be removed during 12.2 development. +if [ ! -f /sbin/mount.ntfs -a -f /sbin/mount.ntfs-3g ]; then + update-alternatives --install /sbin/mount.ntfs mount.ntfs /sbin/mount.ntfs-3g 10 --slave /usr/share/man/man8/mount.ntfs.8.gz mount.ntfs.8.gz /usr/share/man/man8/mount.ntfs-3g.8.gz +fi + %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de