Update to 2.5.0 release

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2016-12-05 10:06:19 +00:00
parent a972457f43
commit 0b1a013081
2 changed files with 19 additions and 7 deletions

View File

@ -80,6 +80,7 @@
%define with_firewalld 0%{!?_without_firewalld:0} %define with_firewalld 0%{!?_without_firewalld:0}
%define with_libssh2 0%{!?_without_libssh2:0} %define with_libssh2 0%{!?_without_libssh2:0}
%define with_wireshark 0%{!?_without_wireshark:0} %define with_wireshark 0%{!?_without_wireshark:0}
%define with_libssh 0%{!?_without_libssh:0}
%define with_pm_utils 1 %define with_pm_utils 1
# Finally set the OS / architecture specific special cases # Finally set the OS / architecture specific special cases
@ -172,6 +173,11 @@
%define with_wireshark 0%{!?_without_wireshark:1} %define with_wireshark 0%{!?_without_wireshark:1}
%endif %endif
# Enable libssh transport for new enough distros
%if 0%{?fedora}
%define with_libssh 0%{!?_without_libssh:1}
%endif
%if %{with_qemu} || %{with_lxc} || %{with_uml} %if %{with_qemu} || %{with_lxc} || %{with_uml}
# numad is used to manage the CPU and memory placement dynamically, # numad is used to manage the CPU and memory placement dynamically,
@ -220,7 +226,7 @@
Summary: Library providing a simple virtualization API Summary: Library providing a simple virtualization API
Name: libvirt Name: libvirt
Version: 2.4.0 Version: 2.5.0
Release: 1%{?dist}%{?extra_release} Release: 1%{?dist}%{?extra_release}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
@ -418,6 +424,10 @@ BuildRequires: wireshark-devel >= 1.12.1
%endif %endif
%endif %endif
%if %{with_libssh}
BuildRequires: libssh-devel >= 0.7.0
%endif
Provides: bundled(gnulib) Provides: bundled(gnulib)
%description %description
@ -1210,9 +1220,9 @@ rm -fr %{buildroot}
# Avoid using makeinstall macro as it changes prefixes rather than setting # Avoid using makeinstall macro as it changes prefixes rather than setting
# DESTDIR. Newer make_install macro would be better but it's not available # DESTDIR. Newer make_install macro would be better but it's not available
# on RHEL 5, thus we need to expand it here. # on RHEL 5, thus we need to expand it here.
make install DESTDIR=%{?buildroot} SYSTEMD_UNIT_DIR=%{_unitdir} make %{?_smp_mflags} install DESTDIR=%{?buildroot} SYSTEMD_UNIT_DIR=%{_unitdir}
make -C examples distclean make %{?_smp_mflags} -C examples distclean
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
@ -1290,7 +1300,6 @@ rm -fr %{buildroot}
%check %check
cd tests cd tests
make
# These tests don't current work in a mock build root # These tests don't current work in a mock build root
for i in nodeinfotest seclabeltest for i in nodeinfotest seclabeltest
do do
@ -1299,7 +1308,7 @@ do
printf '#!/bin/sh\nexit 0\n' > $i printf '#!/bin/sh\nexit 0\n' > $i
chmod +x $i chmod +x $i
done done
if ! make check VIR_TEST_DEBUG=1 if ! make %{?_smp_mflags} check VIR_TEST_DEBUG=1
then then
cat test-suite.log || true cat test-suite.log || true
exit 1 exit 1
@ -1580,6 +1589,7 @@ exit 0
%if %{with_systemd} %if %{with_systemd}
%{_unitdir}/libvirtd.service %{_unitdir}/libvirtd.service
%{_unitdir}/virt-guest-shutdown.target
%{_unitdir}/virtlogd.service %{_unitdir}/virtlogd.service
%{_unitdir}/virtlogd.socket %{_unitdir}/virtlogd.socket
%{_unitdir}/virtlockd.service %{_unitdir}/virtlockd.service
@ -1831,7 +1841,6 @@ exit 0
%{_datadir}/libvirt/schemas/storagevol.rng %{_datadir}/libvirt/schemas/storagevol.rng
%{_datadir}/libvirt/cpu_map.xml %{_datadir}/libvirt/cpu_map.xml
%{_datadir}/libvirt/libvirtLogo.png
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
@ -1893,6 +1902,9 @@ exit 0
%changelog %changelog
* Mon Dec 5 2016 Daniel P. Berrange <berrange@redhat.com> - 2.5.0-1
- Rebase to version 2.5.0
* Wed Nov 2 2016 Daniel P. Berrange <berrange@redhat.com> - 2.4.0-1 * Wed Nov 2 2016 Daniel P. Berrange <berrange@redhat.com> - 2.4.0-1
- Rebase to version 2.4.0 - Rebase to version 2.4.0

View File

@ -1 +1 @@
53ebd616857333fc3ce4dea3db986488 libvirt-2.4.0.tar.xz 001af1ca2545971c6b46628678fd4afa libvirt-2.5.0.tar.xz