From 06123137ebb2183cb8c898b7c21a3bc7bf2b6665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 5 Jun 2018 12:30:16 +0100 Subject: [PATCH] Update to 4.4.0 release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel P. Berrangé --- libvirt.spec | 69 ++++++++++++++++++---------------------------------- sources | 2 +- 2 files changed, 25 insertions(+), 46 deletions(-) diff --git a/libvirt.spec b/libvirt.spec index 9fb2a83..f864683 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -191,7 +191,7 @@ %endif # Enable libssh transport for new enough distros -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %define with_libssh 0%{!?_without_libssh:1} %endif @@ -251,10 +251,9 @@ Summary: Library providing a simple virtualization API Name: libvirt -Version: 4.3.0 +Version: 4.4.0 Release: 1%{?dist}%{?extra_release} License: LGPLv2+ -Group: Development/Libraries URL: https://libvirt.org/ %if %(echo %{version} | grep -q "\.0$"; echo $?) == 1 @@ -467,7 +466,6 @@ the libvirtd server exporting the virtualization support. %package docs Summary: API reference and website documentation -Group: Development/Libraries %description docs Includes the API reference for the libvirt C library, and a complete @@ -475,7 +473,6 @@ copy of the libvirt.org website documentation. %package daemon Summary: Server side daemon and supporting files for libvirt library -Group: Development/Libraries # All runtime requirements for the libvirt package (runtime requrements # for subpackages are listed later in those subpackages) @@ -485,8 +482,14 @@ Requires: %{name}-libs = %{version}-%{release} # for modprobe of pci devices Requires: module-init-tools + # for /sbin/ip & /sbin/tc Requires: iproute +# tc is provided by iproute-tc since at least Fedora 26 +%if 0%{?fedora} || 0%{?rhel} > 7 +Requires: iproute-tc +%endif + Requires: avahi-libs %if 0%{?fedora} || 0%{?rhel} >= 7 Requires: polkit >= 0.112 @@ -522,7 +525,6 @@ for specific drivers. %package daemon-config-network Summary: Default configuration files for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-network = %{version}-%{release} @@ -532,7 +534,6 @@ Default configuration files for setting up NAT based networking %package daemon-config-nwfilter Summary: Network filter configuration files for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release} @@ -542,7 +543,6 @@ Network filter configuration files for cleaning guest traffic %package daemon-driver-network Summary: Network driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: dnsmasq >= 2.41 Requires: radvd @@ -559,7 +559,6 @@ bridge capabilities. %package daemon-driver-nwfilter Summary: Nwfilter driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: iptables %if 0%{?rhel} && 0%{?rhel} < 7 @@ -575,7 +574,6 @@ iptables and ip6tables capabilities %package daemon-driver-nodedev Summary: Nodedev driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} # needed for device enumeration %if 0%{?fedora} || 0%{?rhel} >= 7 @@ -592,7 +590,6 @@ capabilities. %package daemon-driver-interface Summary: Interface driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} %if (0%{?fedora} || 0%{?rhel} >= 7) Requires: netcf-libs >= 0.2.2 @@ -606,7 +603,6 @@ netcf library %package daemon-driver-secret Summary: Secret driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} %description daemon-driver-secret @@ -615,7 +611,6 @@ an implementation of the secret key APIs. %package daemon-driver-storage-core Summary: Storage driver plugin including base backends for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: nfs-utils # For mkfs @@ -632,7 +627,6 @@ iSCSI, and multipath storage. %package daemon-driver-storage-logical Summary: Storage driver plugin for lvm volumes -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} Requires: lvm2 @@ -643,7 +637,6 @@ volumes using lvm. %package daemon-driver-storage-disk Summary: Storage driver plugin for disk -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} Requires: parted Requires: device-mapper @@ -655,7 +648,6 @@ volumes using the host disks. %package daemon-driver-storage-scsi Summary: Storage driver plugin for local scsi devices -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} %description daemon-driver-storage-scsi @@ -665,7 +657,6 @@ host devices. %package daemon-driver-storage-iscsi Summary: Storage driver plugin for iscsi -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} Requires: iscsi-initiator-utils @@ -676,7 +667,6 @@ volumes using the host iscsi stack. %package daemon-driver-storage-mpath Summary: Storage driver plugin for multipath volumes -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} Requires: device-mapper @@ -688,7 +678,6 @@ multipath storage using device mapper. %if %{with_storage_gluster} %package daemon-driver-storage-gluster Summary: Storage driver plugin for gluster -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} %if 0%{?fedora} Requires: glusterfs-client >= 2.0.1 @@ -706,7 +695,6 @@ volumes using libgfapi. %if %{with_storage_rbd} %package daemon-driver-storage-rbd Summary: Storage driver plugin for rbd -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} %description daemon-driver-storage-rbd @@ -718,7 +706,6 @@ volumes using the ceph protocol. %if %{with_storage_sheepdog} %package daemon-driver-storage-sheepdog Summary: Storage driver plugin for sheepdog -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} Requires: sheepdog @@ -731,7 +718,6 @@ sheepdog volumes using. %if %{with_storage_zfs} %package daemon-driver-storage-zfs Summary: Storage driver plugin for ZFS -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} # Support any conforming implementation of zfs Requires: /sbin/zfs @@ -745,7 +731,6 @@ ZFS volumes. %package daemon-driver-storage Summary: Storage driver plugin including all backends for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon-driver-storage-core = %{version}-%{release} Requires: libvirt-daemon-driver-storage-disk = %{version}-%{release} Requires: libvirt-daemon-driver-storage-logical = %{version}-%{release} @@ -774,7 +759,6 @@ parted and more. %if %{with_qemu} %package daemon-driver-qemu Summary: QEMU driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} # There really is a hard cross-driver dependency here Requires: libvirt-daemon-driver-network = %{version}-%{release} @@ -799,7 +783,6 @@ QEMU %if %{with_lxc} %package daemon-driver-lxc Summary: LXC driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} # There really is a hard cross-driver dependency here Requires: libvirt-daemon-driver-network = %{version}-%{release} @@ -817,7 +800,6 @@ the Linux kernel %if %{with_uml} %package daemon-driver-uml Summary: Uml driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} %description daemon-driver-uml @@ -830,7 +812,6 @@ User Mode Linux %if %{with_vbox} %package daemon-driver-vbox Summary: VirtualBox driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} %description daemon-driver-vbox @@ -843,7 +824,6 @@ VirtualBox %if %{with_libxl} %package daemon-driver-libxl Summary: Libxl driver plugin for the libvirtd daemon -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Obsoletes: libvirt-daemon-driver-xen < 4.3.0 @@ -858,7 +838,6 @@ Libxl %if %{with_qemu_tcg} %package daemon-qemu Summary: Server side daemon & driver required to run QEMU guests -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-qemu = %{version}-%{release} @@ -879,7 +858,6 @@ capabilities of the QEMU TCG emulators %if %{with_qemu_kvm} %package daemon-kvm Summary: Server side daemon & driver required to run KVM guests -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-qemu = %{version}-%{release} @@ -900,7 +878,6 @@ capabilities of the KVM hypervisor %if %{with_lxc} %package daemon-lxc Summary: Server side daemon & driver required to run LXC guests -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-lxc = %{version}-%{release} @@ -920,7 +897,6 @@ capabilities of LXC %if %{with_uml} %package daemon-uml Summary: Server side daemon & driver required to run UML guests -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-uml = %{version}-%{release} @@ -941,7 +917,6 @@ capabilities of UML %if %{with_libxl} %package daemon-xen Summary: Server side daemon & driver required to run XEN guests -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} %if %{with_libxl} @@ -963,7 +938,6 @@ capabilities of XEN %if %{with_vbox} %package daemon-vbox Summary: Server side daemon & driver required to run VirtualBox guests -Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} Requires: libvirt-daemon-driver-vbox = %{version}-%{release} @@ -981,7 +955,6 @@ capabilities of VirtualBox %package client Summary: Client side utilities of the libvirt library -Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: readline Requires: ncurses @@ -1003,7 +976,6 @@ capabilities of recent versions of Linux (and other OSes). %package libs Summary: Client side libraries -Group: Development/Libraries # So remote clients can access libvirt over SSH tunnel # (client invokes 'nc' against the UNIX socket on the server) Requires: nc @@ -1017,7 +989,6 @@ Shared libraries for accessing the libvirt daemon. %package admin Summary: Set of tools to control libvirt daemon -Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: readline %if %{with_bash_completion} @@ -1030,7 +1001,6 @@ The client side utilities to control the libvirt daemon. %if %{with_bash_completion} %package bash-completion Summary: Bash completion script -Group: Development/Libraries %description bash-completion Bash completion script stub. @@ -1039,7 +1009,6 @@ Bash completion script stub. %if %{with_wireshark} %package wireshark Summary: Wireshark dissector plugin for libvirt RPC transactions -Group: Development/Libraries Requires: wireshark >= 1.12.6-4 Requires: %{name}-libs = %{version}-%{release} @@ -1050,7 +1019,6 @@ Wireshark dissector plugin for better analysis of libvirt RPC traffic. %if %{with_lxc} %package login-shell Summary: Login shell for connecting users to an LXC container -Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} %description login-shell @@ -1061,7 +1029,6 @@ namespaces. %package devel Summary: Libraries, includes, etc. to compile with the libvirt library -Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: pkgconfig @@ -1071,7 +1038,6 @@ Include header files & development libraries for the libvirt C library. %if %{with_sanlock} %package lock-sanlock Summary: Sanlock lock manager plugin for QEMU driver -Group: Development/Libraries Requires: sanlock >= 2.4 #for virt-sanlock-cleanup require augeas Requires: augeas @@ -1085,7 +1051,6 @@ driver %package nss Summary: Libvirt plugin for Name Service Switch -Group: Development/Libraries Requires: libvirt-daemon-driver-network = %{version}-%{release} %description nss @@ -1389,6 +1354,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/connection-driver/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/storage-backend/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/storage-backend/*.a +rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/storage-file/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/libvirt/storage-file/*.a %if %{with_wireshark} rm -f $RPM_BUILD_ROOT%{wireshark_plugindir}/libvirt.la %endif @@ -1408,6 +1375,8 @@ rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/libvirt/nwfilter/ cp -a $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter/*.xml \ $RPM_BUILD_ROOT%{_datadir}/libvirt/nwfilter/ +# libvirt saves these files with mode 600 +chmod 600 $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter/*.xml # Strip auto-generated UUID - we need it generated per-install sed -i -e "//d" $RPM_BUILD_ROOT%{_datadir}/libvirt/networks/default.xml @@ -1451,8 +1420,11 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} libvirt-docs %ifarch %{power64} s390x x86_64 ia64 alpha sparc64 mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes.stp \ $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_probes-64.stp + + %if %{with_qemu} mv $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes.stp \ $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/libvirt_qemu_probes-64.stp + %endif %endif %check @@ -1888,6 +1860,7 @@ exit 0 %attr(0755, root, root) %{_libexecdir}/libvirt_parthelper %{_libdir}/%{name}/connection-driver/libvirt_driver_storage.so %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_fs.so +%{_libdir}/%{name}/storage-file/libvirt_storage_file_fs.so %files daemon-driver-storage-disk %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_disk.so @@ -1907,6 +1880,7 @@ exit 0 %if %{with_storage_gluster} %files daemon-driver-storage-gluster %{_libdir}/%{name}/storage-backend/libvirt_storage_backend_gluster.so +%{_libdir}/%{name}/storage-file/libvirt_storage_file_gluster.so %endif %if %{with_storage_rbd} @@ -2031,8 +2005,10 @@ exit 0 %{_bindir}/virt-host-validate %{_datadir}/systemtap/tapset/libvirt_probes*.stp -%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp %{_datadir}/systemtap/tapset/libvirt_functions.stp +%if %{with_qemu} +%{_datadir}/systemtap/tapset/libvirt_qemu_probes*.stp +%endif %if %{with_bash_completion} %{_datadir}/bash-completion/completions/virsh @@ -2150,8 +2126,11 @@ exit 0 %changelog +* Tue June 5 2018 Daniel P. Berrangé - 4.4.0-1 +- Update to 4.4.0 release + * Thu May 3 2018 Daniel P. Berrangé - 4.3.0-1 -- Update to 4.2.0 release +- Update to 4.3.0 release * Tue Apr 3 2018 Daniel P. Berrangé - 4.2.0-1 - Update to 4.2.0 release diff --git a/sources b/sources index ae20fa7..28302a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libvirt-4.3.0.tar.xz) = cc61497121931019a8cc3fa8234d7cf95b0f0e1d77ab6fcd089db92759617b099eb83c57aa91768ae6ccf92c345cf72e1d9b202acb5132a159476fb86f1a6999 +SHA512 (libvirt-4.4.0.tar.xz) = 725b9b093a2aaeab6fdcb8df341a400ab363bcd50af8400dfd0593c41d8fbc8352f89147be9fbfde2e8418cc7298e090fe07ec7255b0aff1f0d001b93322f93f