From 6df113e4af06a6432b73b39f144e708f4a80718e Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Mar 06 2015 08:27:40 +0000 Subject: Integrated changes from Rawhide. --- diff --git a/libguestfs.spec b/libguestfs.spec index 0e060a2..b51f308 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -143,8 +143,6 @@ Requires: supermin >= 5.1.8-3 # For core inspection API. Requires: libdb-utils -Requires: netpbm-progs -Requires: icoutils Requires: libosinfo # For core mount-local (FUSE) API. @@ -162,9 +160,11 @@ Requires: libvirt-daemon-qemu >= 0.10.2-3 Requires: selinux-policy >= 3.11.1-63 # For UML backend (this backend only works on x86). -%ifarch %{ix86} x86_64 -Requires: uml_utilities -%endif +# UML has been broken upstream (in the kernel) for a while, so don't +# include this. Note that uml_utilities also depends on Perl. +#%ifarch %{ix86} x86_64 +#Requires: uml_utilities +#%endif # Provide our own custom requires for the supermin appliance. Source1: libguestfs-find-requires.sh @@ -363,6 +363,26 @@ disk images containing ZFS. %endif +%package inspect-icons +Summary: Additional dependencies for inspecting guest icons +License: LGPLv2+ +BuildArch: noarch +Requires: %{name} = %{epoch}:%{version}-%{release} + +Requires: netpbm-progs +Requires: icoutils + + +%description inspect-icons +%{name}-inspect-icons is a metapackage that pulls in additional +dependencies required by libguestfs to pull icons out of non-Linux +guests. Install this package if you want libguestfs to be able to +inspect non-Linux guests and display icons from them. + +The only reason this is a separate package is to avoid core libguestfs +having to depend on Perl. See https://bugzilla.redhat.com/1194158 + + %package tools-c Summary: System administration tools for virtual machines License: GPLv2+ @@ -822,7 +842,9 @@ fi # For Python 3 we must compile libguestfs a second time. pushd python3 export PYTHON=%{__python3} -%{localconfigure} +# Copy the cache to speed the build: +cp ../generator/.pod2text* generator/ +%{localconfigure} --enable-python --disable-perl --disable-ruby --disable-haskell --disable-php --disable-erlang --disable-lua --disable-golang --disable-gobject %{localmake} popd @@ -866,6 +888,9 @@ export SKIP_TEST_FUSE_SH=1 # Disable btrfs-qgroup-show (RHBZ#1188553). export SKIP_TEST_BTRFS_QGROUP_SHOW=1 +# mdadm --stop hangs (RHBZ#1197305). +export SKIP_TEST_MDADM_SH=1 + # Skip gnulib tests which fail (probably these are kernel/glibc bugs). pushd gnulib/tests make -k check ||: @@ -1021,6 +1046,7 @@ popd %{_includedir}/guestfs.h %{_libdir}/pkgconfig/libguestfs.pc + %files gfs2 %{_libdir}/guestfs/supermin.d/zz-packages-gfs2 @@ -1052,6 +1078,11 @@ popd %{_libdir}/guestfs/supermin.d/zz-packages-zfs %endif + +%files inspect-icons +# no files + + %files tools-c %doc README %config(noreplace) %{_sysconfdir}/libguestfs-tools.conf @@ -1286,14 +1317,23 @@ popd %changelog -* Thu Mar 05 2015 Richard W.M. Jones - 1:1.29.29-1 +* Thu Mar 5 2015 Richard W.M. Jones - 1:1.29.29-1 - New upstream version 1.29.29. -* Tue Feb 17 2015 Richard W.M. Jones - 1:1.29.26-1 +* Mon Mar 2 2015 Richard W.M. Jones - 1:1.29.26-3 +- Add new subpackage libguestfs-inspect-icons (RHBZ#1194158). +- Remove dependency on uml_utilities, since UML is currently broken. +- Speed python3 build by copying over the generator pod2text cache and + disabling non-Python language bindings. +- Disable mdadm test because of mdadm hangs (RHBZ#1197305). + +* Wed Feb 18 2015 Richard W.M. Jones - 1:1.29.26-1 - New upstream version 1.29.26. +- ocaml-4.02.1 rebuild. -* Wed Feb 11 2015 Richard W.M. Jones - 1:1.29.25-1 +* Thu Feb 12 2015 Richard W.M. Jones - 1:1.29.25-1 - New upstream version 1.29.25. +- Remove patches which are now upstream. * Thu Feb 05 2015 Richard W.M. Jones - 1:1.29.24-3 - Upstream patch to fix virt-resize/virt-builder on aarch64 (RHBZ#1189284).