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 2021-03-17 20:13:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ntfs-3g_ntfsprogs (Old)
and /work/SRC/openSUSE:Factory/.ntfs-3g_ntfsprogs.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntfs-3g_ntfsprogs"
Wed Mar 17 20:13:34 2021 rev:25 rq:879231 version:2017.3.23
Changes:
--------
--- /work/SRC/openSUSE:Factory/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.changes
2018-08-20 16:17:12.844635958 +0200
+++
/work/SRC/openSUSE:Factory/.ntfs-3g_ntfsprogs.new.2401/ntfs-3g_ntfsprogs.changes
2021-03-17 20:13:38.546799821 +0100
@@ -1,0 +2,6 @@
+Mon Mar 8 10:20:39 UTC 2021 - Ludwig Nussel <[email protected]>
+
+- prepare usrmerge (boo#1029961)
+- get rid of old sle11 code, including hal file
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ntfs-3g_ntfsprogs.spec ++++++
--- /var/tmp/diff_new_pack.mQHMNc/_old 2021-03-17 20:13:39.118800602 +0100
+++ /var/tmp/diff_new_pack.mQHMNc/_new 2021-03-17 20:13:39.122800608 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ntfs-3g_ntfsprogs
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,10 +12,16 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%if 0%{?usrmerged}
+%define sbindir %_sbindir
+%else
+%define sbindir /sbin
+%endif
+
%define sover 88
Name: ntfs-3g_ntfsprogs
@@ -26,21 +32,14 @@
Release: 0
Source: http://tuxera.com/opensource/%{name}-%{version}.tgz
Source2: 21-storage-ntfs-3g.fdi
-Url: http://www.tuxera.com/community/ntfs-3g-download/
+URL: http://www.tuxera.com/community/ntfs-3g-download/
BuildRequires: autoconf
-# SLES 11 is still supported
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-BuildRequires: cpp48
-BuildRequires: fuse-devel >= 2.6.0
-BuildRequires: gcc48
-%else
-BuildRequires: pkgconfig(fuse) >= 2.6.0
-%endif
BuildRequires: gnutls-devel
BuildRequires: hwinfo-devel
BuildRequires: libgcrypt-devel
BuildRequires: libuuid-devel
BuildRequires: pkgconfig
+BuildRequires: pkgconfig(fuse) >= 2.6.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -57,8 +56,6 @@
%if 0%{?suse_version}
Requires(post): update-alternatives
Requires(postun): update-alternatives
-Requires(preun): update-alternatives
-Requires(postun): update-alternatives
Supplements: filesystem(ntfs-3g)
%endif
@@ -120,10 +117,6 @@
autoconf
%build
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-export CC=gcc-4.8
-export CXX=cpp-4.8
-%endif
#
# regarding -Wno-sign-compare - checked with the Szaka: There is one variable
# which is signed and would possibly ok to be unsigned. Any solution to this
@@ -140,19 +133,14 @@
%install
make install DESTDIR="%buildroot"
+%if 0%{?usrmerged}
+mv %{buildroot}/sbin/* %{buildroot}%{_sbindir}
+%endif
%{__rm} -v %{buildroot}%{_libdir}/libntfs-3g.la
-# Hal stuff for mounting on hotplug.
-%{__mkdir_p} %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
-%{__install} -m 644 %{SOURCE2}
%{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/21-storage-ntfs-3g.fdi
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-# Touch ghost files
-touch %{buildroot}/sbin/mount.ntfs %{buildroot}%{_mandir}/man8/mount.ntfs.8
-%else
# Alternatives for mount.ntfs (binary and manpage)
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-ln -s -f %{_sysconfdir}/alternatives/mount.ntfs %{buildroot}/sbin/mount.ntfs
+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}
-%endif
%check
TESTFS=$(mktemp) || exit 1
@@ -161,24 +149,16 @@
src/ntfs-3g.probe --readwrite $TESTFS
rm -v $TESTFS
-# Workaround old bug in 11.1/11.2 packages that always removed the symlinks in
-# %postun.
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-%posttrans -n ntfs-3g
-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
-%endif
-
%post -n ntfs-3g
# 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 %{_mandir}/man8/mount.ntfs.8%{?ext_man} mount.ntfs.8%{?ext_man}
%{_mandir}/man8/mount.ntfs-3g.8%{?ext_man}
+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}
-%preun -n ntfs-3g
+%postun -n 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
+if [ ! -f %{sbindir}/mount.ntfs-3g ]; then
+ update-alternatives --remove mount.ntfs %{sbindir}/mount.ntfs-3g
fi
%post -n libntfs-3g%sover -p /sbin/ldconfig
@@ -189,25 +169,18 @@
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog CREDITS NEWS README
%license COPYING
-%dir %{_datadir}/hal
-%dir %{_datadir}/hal/fdi
-%dir %{_datadir}/hal/fdi/policy
-%dir %{_datadir}/hal/fdi/policy/10osvendor
-%{_datadir}/hal/fdi/policy/10osvendor/21-storage-ntfs-3g.fdi
%{_bindir}/ntfs-3g
%{_bindir}/ntfs-3g.probe
%{_bindir}/ntfssecaudit
%{_bindir}/ntfsusermap
%{_bindir}/lowntfs-3g
-%ghost /sbin/mount.ntfs
-%if 0%{?suse_version} > 1110
+%{sbindir}/mount.ntfs
%ghost %{_sysconfdir}/alternatives/mount.ntfs
%ghost %{_sysconfdir}/alternatives/mount.ntfs.8%{?ext_man}
-%endif
-/sbin/mount.ntfs-3g
-/sbin/mount.lowntfs-3g
+%{sbindir}/mount.ntfs-3g
+%{sbindir}/mount.lowntfs-3g
%{_mandir}/man8/mount.lowntfs-3g.8%{?ext_man}
-%ghost %{_mandir}/man8/mount.ntfs.8%{?ext_man}
+%{_mandir}/man8/mount.ntfs.8%{?ext_man}
%{_mandir}/man8/mount.ntfs-3g.8%{?ext_man}
%{_mandir}/man8/ntfs-3g.8%{?ext_man}
%{_mandir}/man8/ntfs-3g.probe.8%{?ext_man}
@@ -231,7 +204,7 @@
%defattr(-, root, root)
%doc AUTHORS ChangeLog CREDITS NEWS README
%license COPYING
-/sbin/mkfs.ntfs
+%{sbindir}/mkfs.ntfs
%{_sbindir}/mkntfs
%{_sbindir}/ntfsclone
%{_sbindir}/ntfscp