Limit VDDK plugin to i386 and x86-64.
These are the only architectures for which VMware provides this library.
This commit is contained in:
parent
b160c01694
commit
aa1623f194
13
nbdkit.spec
13
nbdkit.spec
@ -385,6 +385,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
This package lets you write Tcl plugins for %{name}.
|
This package lets you write Tcl plugins for %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
%package plugin-vddk
|
%package plugin-vddk
|
||||||
Summary: VMware VDDK plugin for %{name}
|
Summary: VMware VDDK plugin for %{name}
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -395,6 +396,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%description plugin-vddk
|
%description plugin-vddk
|
||||||
This package is a plugin for %{name} which connects to
|
This package is a plugin for %{name} which connects to
|
||||||
VMware VDDK for accessing VMware disks and servers.
|
VMware VDDK for accessing VMware disks and servers.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%package plugin-xz
|
%package plugin-xz
|
||||||
@ -554,6 +556,13 @@ popd
|
|||||||
# Delete libtool crap.
|
# Delete libtool crap.
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -delete
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
|
|
||||||
|
# Delete the VDDK plugin on !x86 architectures since it is not
|
||||||
|
# applicable there.
|
||||||
|
%ifnarch %{ix86} x86_64
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
|
||||||
|
rm $RPM_BUILD_ROOT%{_mandir}/man1/nbdkit-vddk-plugin.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# Workaround for broken libvirt (RHBZ#1138604).
|
# Workaround for broken libvirt (RHBZ#1138604).
|
||||||
@ -730,11 +739,13 @@ popd
|
|||||||
%{_mandir}/man3/nbdkit-tcl-plugin.3*
|
%{_mandir}/man3/nbdkit-tcl-plugin.3*
|
||||||
|
|
||||||
|
|
||||||
|
%ifarch %{ix86} x86_64
|
||||||
%files plugin-vddk
|
%files plugin-vddk
|
||||||
%doc README
|
%doc README
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
|
%{_libdir}/%{name}/plugins/nbdkit-vddk-plugin.so
|
||||||
%{_mandir}/man1/nbdkit-vddk-plugin.1*
|
%{_mandir}/man1/nbdkit-vddk-plugin.1*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files plugin-xz
|
%files plugin-xz
|
||||||
@ -794,7 +805,7 @@ popd
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jul 24 2018 Richard W.M. Jones <rjones@redhat.com> - 1.5.1-2
|
* Tue Jul 24 2018 Richard W.M. Jones <rjones@redhat.com> - 1.5.1-2
|
||||||
- Enable VDDK plugin.
|
- Enable VDDK plugin on x86-64 only.
|
||||||
|
|
||||||
* Fri Jul 20 2018 Richard W.M. Jones <rjones@redhat.com> - 1.5.1-1
|
* Fri Jul 20 2018 Richard W.M. Jones <rjones@redhat.com> - 1.5.1-1
|
||||||
- New upstream version 1.5.1.
|
- New upstream version 1.5.1.
|
||||||
|
Loading…
Reference in New Issue
Block a user