Accepting request 428643 from home:cbosdonnat:branches:Virtualization

- Add mount.ntfs alternatives symlink for SLES too (fate#316274)

OBS-URL: https://build.opensuse.org/request/show/428643
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=380
This commit is contained in:
Cédric Bosdonnat 2016-09-19 09:35:23 +00:00 committed by Git OBS Bridge
parent f4c4b042be
commit 8767fed42b
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 19 09:18:21 UTC 2016 - cbosdonnat@suse.com
- Add mount.ntfs alternatives symlink for SLES too (fate#316274)
-------------------------------------------------------------------
Wed Sep 14 13:13:10 UTC 2016 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libguestfs
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Michal Hrusecky <mhrusecky@novell.com>
#
# All modifications and additions to the file contributed by third parties
@ -664,9 +664,6 @@ touch %{name}.lang
%find_lang %{name}
%fdupes -s $RPM_BUILD_ROOT
# SLES has a different way to provide ntfs-3g feature.
%if %suse_version == 1315
%if 0%{?is_opensuse} == 1
mkdir -p $RPM_BUILD_ROOT/tmp/etc/alternatives
pushd $RPM_BUILD_ROOT/tmp/etc/alternatives
ln -s /sbin/mount.ntfs-3g mount.ntfs
@ -675,8 +672,6 @@ pushd $RPM_BUILD_ROOT/tmp
tar czf $RPM_BUILD_ROOT/%{_libdir}/guestfs/supermin.d/zz-ntfs-symlink.tar.gz etc
popd
rm -rf $RPM_BUILD_ROOT/tmp
%endif
%endif
mkdir -p $RPM_BUILD_ROOT/tmp/usr/bin
cp %{S:100} $RPM_BUILD_ROOT/tmp/usr/bin