Hello community, here is the log from the commit of package libguestfs for openSUSE:Factory checked in at 2018-02-12 10:15:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libguestfs (Old) and /work/SRC/openSUSE:Factory/.libguestfs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libguestfs" Mon Feb 12 10:15:50 2018 rev:59 rq:575411 version:1.38.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libguestfs/libguestfs.changes 2017-12-08 12:59:36.040890472 +0100 +++ /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs.changes 2018-02-12 10:15:53.624037678 +0100 @@ -1,0 +2,45 @@ +Fri Feb 9 19:39:31 UTC 2018 - [email protected] + +- update to version 1.38.0: + * Virt-builder-repository is a new tool allowing end users to + create and update virt-builder repositories. (fate#318952) + * Virt-rescue has been substantially rewritten, implementing job + control, -m and -i options, escape keys, etc. + * Virt-builder planner has been improved so that faster and more + efficient build plans are chosen for complex cases, especially when + either the tmpdir or output is on networked storage. + * Virt-customize now sets a random /etc/machine-id for Linux guests, if + one is not already set. + * Virt-df now works correctly on filesystems with block sizes smaller + than 1K. + * Virt-dib has further compatibility enhancements with diskimage-builder. + * Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files. + * Virt-resize now correctly copies GPT partition attributes from the + source to the destination. (bsc#1074585) + * Bash tab completion implemented or enhanced for: virt-win-reg, + virt-v2v-copy-to-local. + * Both virt-v2v and virt-p2v are now able to pass through the source CPU + vendor, model and topology. + * Virt-v2v now supports encrypted guests. + * Virt-v2v now detects the special Linux Xen PV-only kernels correctly + * Virt-v2v -o glance now generates the right properties for UEFI guests + * Virt-v2v -o null now avoids spooling the guest to a temporary file, + instead it writes to the qemu "null block device". This makes it + faster and use almost no disk space. + * Virt-v2v -i libvirtxml can now open network disks over http or https. + * Virt-v2v will now give a warning about host passthrough devices + * Inspection support was rewritten in OCaml and included inside the + daemon. This makes inspection considerably faster, more robust and + more easily extensible in future. + * The libguestfs API is now thread-safe (although not parallel). You can + call APIs on the same handle from multiple threads without needing to + take a lock. +- Removed patches: + 531316cc-build-improve-and-simplify-distro-detection.patch + 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch + f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch +- Added patches: + d0e5a819-python-Fix-missing-additional-backslashes.patch + + +------------------------------------------------------------------- Old: ---- 531316cc-build-improve-and-simplify-distro-detection.patch 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch libguestfs-1.36.5.tar.gz New: ---- d0e5a819-python-Fix-missing-additional-backslashes.patch libguestfs-1.38.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libguestfs.spec ++++++ --- /var/tmp/diff_new_pack.OSrhvp/_old 2018-02-12 10:15:54.851993428 +0100 +++ /var/tmp/diff_new_pack.OSrhvp/_new 2018-02-12 10:15:54.855993284 +0100 @@ -1,7 +1,7 @@ # # spec file for package libguestfs # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Michal Hrusecky <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ # needsbinariesforbuild -Version: 1.36.5 +Version: 1.38.0 Release: 0 %{ocaml_preserve_bytecode} @@ -33,7 +33,7 @@ %bcond_without ruby_bindings -%bcond_without p2v +%bcond_with p2v %bcond_without bash_completion # The following defines are overridden in the individual subpackages @@ -91,7 +91,7 @@ BuildRequires: libcap-devel BuildRequires: libconfig-devel BuildRequires: libtool -BuildRequires: libvirt-devel >= 0.10.2 +BuildRequires: libvirt-devel >= 1.2.20 BuildRequires: libxml2-devel BuildRequires: ncurses-devel %if %{with perl_bindings} @@ -109,8 +109,12 @@ BuildRequires: pkgconfig(yajl) >= 2.0.4 # Required to build tools, its independent from bindings BuildRequires: glib2-devel -BuildRequires: ocaml +BuildRequires: ocaml >= 4.01 BuildRequires: ocaml-findlib +BuildRequires: ocaml-gettext-devel +BuildRequires: ocaml-gettext-stub-devel +BuildRequires: ocaml-hivex-devel +BuildRequires: ocaml-libvirt-devel # BuildRequires: ocaml-rpm-macros >= 4.03 @@ -138,14 +142,10 @@ Summary: Compatibility package for guestfs-tools License: GPL-2.0 Group: System/Filesystems -# PATCH-FIX-UPSTREAM - python3 fixes -Patch1: 9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch -Patch2: f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch -# PATCH-FIX-UPSTREAM - add configure --with-distro parameter -Patch3: 531316cc-build-improve-and-simplify-distro-detection.patch +Patch0: d0e5a819-python-Fix-missing-additional-backslashes.patch Patch100: appliance.patch -Source0: http://download.libguestfs.org/1.36-stable/libguestfs-%{version}.tar.gz +Source0: http://download.libguestfs.org/1.38-stable/libguestfs-%{version}.tar.gz Source1: libguestfs.rpmlintrc Source100: mount-rootfs-and-chroot.sh Source101: README @@ -302,6 +302,7 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python +BuildRequires: python-devel BuildRequires: python-rpm-macros %define _configure_python --enable-python # @@ -316,6 +317,8 @@ Summary: Python 3 bindings for libguestfs License: GPL-2.0 Group: Development/Languages/Python +BuildRequires: python3 +BuildRequires: python3-devel %define _configure_python --enable-python # Obsoletes: libguestfs-python < %{version} @@ -542,9 +545,7 @@ %prep : _ignore_exclusive_arch '%{?_ignore_exclusive_arch}' %setup -q -a 789653 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%patch0 -p1 %patch100 -p1 %build @@ -653,6 +654,9 @@ popd %endif +# Don't package the test harness (yet) +rm -rf %{buildroot}/%{_libdir}/ocaml/v2v_test_harness + # find %{buildroot}/ -name "*.la" -print -delete rm -fv %{buildroot}/%{_libdir}/*.a @@ -797,7 +801,6 @@ %{_includedir}/guestfs.h %{_includedir}/guestfs-gobject %{_includedir}/guestfs-gobject.h -%{_datadir}/gtk-doc/html/guestfs %{_mandir}/man3/* %files -n guestfsd @@ -812,7 +815,9 @@ %{_sbindir}/libguestfs-make-fixed-appliance %{_bindir}/* %exclude %{_bindir}/virt-v2v +%if %{with p2v} %exclude %{_bindir}/virt-p2v-* +%endif %config(noreplace) /etc/libguestfs-tools.conf /etc/virt-builder %dir /etc/xdg/virt-builder @@ -824,7 +829,9 @@ %endif %{_mandir}/man1/* %exclude %{_mandir}/man1/virt-v2v.* +%if %{with p2v} %exclude %{_mandir}/man1/virt-p2v* +%endif %{_mandir}/man5/* %files -n virt-v2v ++++++ appliance.patch ++++++ --- /var/tmp/diff_new_pack.OSrhvp/_old 2018-02-12 10:15:54.903991554 +0100 +++ /var/tmp/diff_new_pack.OSrhvp/_new 2018-02-12 10:15:54.903991554 +0100 @@ -1,15 +1,14 @@ -Index: libguestfs-1.36.5/appliance/init +Index: libguestfs-1.38.0/appliance/init =================================================================== ---- libguestfs-1.36.5.orig/appliance/init -+++ libguestfs-1.36.5/appliance/init -@@ -206,7 +206,9 @@ else - echo - echo "Note: The contents of / are the rescue appliance." - echo "You have to mount the guest's partitions under /sysroot" -- echo "before you can examine them." -+ echo "before you can examine them. A helper script for that exists:" -+ echo "mount-rootfs-and-chroot.sh /dev/sda2" -+ - echo - run_bash_with_ctty - echo +--- libguestfs-1.38.0.orig/appliance/init ++++ libguestfs-1.38.0/appliance/init +@@ -234,7 +234,8 @@ else + echo "Note: The contents of / (root) are the rescue appliance." + if ! test -d "/sysroot/dev"; then + echo "You have to mount the guest’s partitions under /sysroot" +- echo "before you can examine them." ++ echo "before you can examine them. A helper script for that exists:" ++ echo "mount-rootfs-and-chroot.sh /dev/sda2" + else + echo "Use 'cd /sysroot' or 'chroot /sysroot' to see guest filesystems." + fi ++++++ d0e5a819-python-Fix-missing-additional-backslashes.patch ++++++ >From d0e5a819e8b16b38c22cb7309e88bf49a6fdcc4a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" <[email protected]> Date: Fri, 9 Feb 2018 15:55:38 +0000 Subject: [PATCH] python: Fix missing & additional backslashes which broke python sdist. Fixes commit e6c89f96316c3eda6049d0c3ed4de4cda6f4f973. --- python/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/Makefile.am b/python/Makefile.am index 5d2716e20..ef500d65d 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -101,9 +101,9 @@ stamp-extra-files: \ cleanups.h \ config.h \ guestfs-internal-all.h \ - guestfs-utils.h + guestfs-utils.h \ ignore-value.h \ - utils.c \ + utils.c touch $@ config.h: -- 2.15.1 ++++++ libguestfs-1.36.5.tar.gz -> libguestfs-1.38.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/libguestfs/libguestfs-1.36.5.tar.gz /work/SRC/openSUSE:Factory/.libguestfs.new/libguestfs-1.38.0.tar.gz differ: char 12, line 1 ++++++ libguestfs.rpmlintrc ++++++ --- /var/tmp/diff_new_pack.OSrhvp/_old 2018-02-12 10:15:54.959989536 +0100 +++ /var/tmp/diff_new_pack.OSrhvp/_new 2018-02-12 10:15:54.963989392 +0100 @@ -2,3 +2,4 @@ addFilter("shlib-policy-missing-lib") # This script is supposed to be run from within the appliance only addFilter("non-executable-script /usr/share/virt-p2v/launch-virt-p2v") +addFilter("non-standard-group Development/Languages")
