Accepting request 397953 from home:cbosdonnat:branches:Virtualization
Fix the SLES 12 build: use %if %is_opensuse OBS-URL: https://build.opensuse.org/request/show/397953 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=355
This commit is contained in:
parent
cf1f1108f4
commit
f50adf01f8
@ -655,6 +655,7 @@ touch %{name}.lang
|
|||||||
|
|
||||||
# SLES has a different way to provide ntfs-3g feature.
|
# SLES has a different way to provide ntfs-3g feature.
|
||||||
%if %suse_version == 1315
|
%if %suse_version == 1315
|
||||||
|
%if 0%is_opensuse == 1
|
||||||
mkdir -p $RPM_BUILD_ROOT/tmp/etc/alternatives
|
mkdir -p $RPM_BUILD_ROOT/tmp/etc/alternatives
|
||||||
pushd $RPM_BUILD_ROOT/tmp/etc/alternatives
|
pushd $RPM_BUILD_ROOT/tmp/etc/alternatives
|
||||||
ln -s /sbin/mount.ntfs-3g mount.ntfs
|
ln -s /sbin/mount.ntfs-3g mount.ntfs
|
||||||
@ -664,6 +665,7 @@ tar czf $RPM_BUILD_ROOT/%{_libdir}/guestfs/supermin.d/zz-ntfs-symlink.tar.gz etc
|
|||||||
popd
|
popd
|
||||||
rm -rf $RPM_BUILD_ROOT/tmp
|
rm -rf $RPM_BUILD_ROOT/tmp
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user