Browse Source

libvirt update 5.4.0 and add iscsi_direct support

Signed-off-by: virtbuilder_pel7x64builder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7x64builder0 6 years ago
parent
commit
7a0298d7ff
  1. 15
      SPECS/libvirt.spec

15
SPECS/libvirt.spec

@ -49,7 +49,7 @@


Summary: Library providing a simple virtualization API Summary: Library providing a simple virtualization API
Name: libvirt Name: libvirt
Version: 5.3.0 Version: 5.4.0
Release: 1%{?dist}%{?extra_release} Release: 1%{?dist}%{?extra_release}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
@ -62,10 +62,6 @@ URL: https://libvirt.org/
Source: https://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.xz Source: https://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.xz
Source1: symlinks Source1: symlinks


#%ifarch x86_64
#Patch1: libvirt-network-bridge-function.patch
#%endif
#Patch2: libvirt-network-switch-function.patch


Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon = %{version}-%{release}
Requires: libvirt-daemon-config-network = %{version}-%{release} Requires: libvirt-daemon-config-network = %{version}-%{release}
@ -180,6 +176,7 @@ BuildRequires: /usr/bin/qemu-img
BuildRequires: lvm2 BuildRequires: lvm2
# For ISCSI driver # For ISCSI driver
BuildRequires: iscsi-initiator-utils BuildRequires: iscsi-initiator-utils
BuildRequires: libiscsi-devel
# For disk driver # For disk driver
BuildRequires: parted-devel BuildRequires: parted-devel
# For Multipath support # For Multipath support
@ -1058,9 +1055,9 @@ rm -rf .git
%endif %endif


%if %{with_firewalld} %if %{with_firewalld}
%define arg_firewalld --with-firewalld %define arg_firewalld --with-firewalld --with-firewalld-zone
%else %else
%define arg_firewalld --without-firewalld %define arg_firewalld --without-firewalld --without-firewalld-zone
%endif %endif


%if %{with_wireshark} %if %{with_wireshark}
@ -1136,6 +1133,7 @@ rm -f po/stamp-po
--with-storage-fs \ --with-storage-fs \
--with-storage-lvm \ --with-storage-lvm \
--with-storage-iscsi \ --with-storage-iscsi \
--with-storage-iscsi-direct \
--with-storage-scsi \ --with-storage-scsi \
--with-storage-disk \ --with-storage-disk \
--with-storage-mpath \ --with-storage-mpath \
@ -1255,7 +1253,7 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.uml
%endif %endif


# Copied into libvirt-docs subpackage eventually # Copied into libvirt-docs subpackage eventually
mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} libvirt-docs mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt libvirt-docs


%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 %ifarch %{power64} s390x x86_64 ia64 alpha sparc64
mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \ mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \
@ -1713,6 +1711,7 @@ exit 0


%files daemon-driver-storage-iscsi %files daemon-driver-storage-iscsi
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_iscsi.so %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_iscsi.so
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_iscsi-direct.so


%files daemon-driver-storage-mpath %files daemon-driver-storage-mpath
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_mpath.so %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_mpath.so

Loading…
Cancel
Save