From f16e05cf8ad23eed40b1178da820b615ca36bff5 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 8 Mar 2011 16:46:14 +0000 Subject: [PATCH] - New upstream version 1.9.10. - Remove patches (now upstream). --- .gitignore | 1 + ...debug-mode-print-qemu-img-command-li.patch | 26 ----------------- ...nd-disk-size-to-integer-fix-for-qemu.patch | 29 ------------------- libguestfs.spec | 13 ++++----- sources | 2 +- 5 files changed, 7 insertions(+), 64 deletions(-) delete mode 100644 0001-virt-make-fs-In-debug-mode-print-qemu-img-command-li.patch delete mode 100644 0002-virt-make-fs-Round-disk-size-to-integer-fix-for-qemu.patch diff --git a/.gitignore b/.gitignore index 904789d..feda9dc 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ libguestfs-1.5.3.tar.gz /libguestfs-1.9.7.tar.gz /libguestfs-1.9.8.tar.gz /libguestfs-1.9.9.tar.gz +/libguestfs-1.9.10.tar.gz diff --git a/0001-virt-make-fs-In-debug-mode-print-qemu-img-command-li.patch b/0001-virt-make-fs-In-debug-mode-print-qemu-img-command-li.patch deleted file mode 100644 index 6d11813..0000000 --- a/0001-virt-make-fs-In-debug-mode-print-qemu-img-command-li.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 29b3ffdad5d6774f988fd0e25f9c8242e5dd577a Mon Sep 17 00:00:00 2001 -From: Richard W.M. Jones -Date: Fri, 4 Mar 2011 12:13:12 +0000 -Subject: [PATCH 1/2] virt-make-fs: In debug mode, print qemu-img command line. - ---- - tools/virt-make-fs | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/tools/virt-make-fs b/tools/virt-make-fs -index 854cc08..3825f70 100755 ---- a/tools/virt-make-fs -+++ b/tools/virt-make-fs -@@ -397,6 +397,9 @@ if (!defined $size) { - # Take the unusual step of invoking qemu-img here. - - my @cmd = ("qemu-img", "create", "-f", $format, $output, $size); -+if ($debug) { -+ print STDERR ("running: ", join (" ", @cmd), "\n"); -+} - system (@cmd) == 0 or - die __"qemu-img create: failed to create disk image, see earlier error messages\n"; - --- -1.7.4 - diff --git a/0002-virt-make-fs-Round-disk-size-to-integer-fix-for-qemu.patch b/0002-virt-make-fs-Round-disk-size-to-integer-fix-for-qemu.patch deleted file mode 100644 index bc8cb19..0000000 --- a/0002-virt-make-fs-Round-disk-size-to-integer-fix-for-qemu.patch +++ /dev/null @@ -1,29 +0,0 @@ -From eda9826d25336bcf661700270c580d4d62128750 Mon Sep 17 00:00:00 2001 -From: Richard W.M. Jones -Date: Fri, 4 Mar 2011 12:13:32 +0000 -Subject: [PATCH 2/2] virt-make-fs: Round disk size to integer, fix for qemu-img 0.14. - -qemu-img used to allow you to specify a fractional image size in bytes -(or at least, it used to ignore the part after the decimal place). In -qemu-img 0.14 it no longer does this so we round down the size to a -whole number of bytes. ---- - tools/virt-make-fs | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/tools/virt-make-fs b/tools/virt-make-fs -index 3825f70..833c8a5 100755 ---- a/tools/virt-make-fs -+++ b/tools/virt-make-fs -@@ -393,6 +393,8 @@ if (!defined $size) { - } - } - -+$size = int ($size); -+ - # Create the output disk. - # Take the unusual step of invoking qemu-img here. - --- -1.7.4 - diff --git a/libguestfs.spec b/libguestfs.spec index 7e7fe65..7c25b69 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -29,7 +29,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 -Version: 1.9.9 +Version: 1.9.10 Release: 1%{?dist} License: LGPLv2+ Group: Development/Libraries @@ -40,11 +40,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Disable FUSE tests, not supported in Koji at the moment. Patch0: libguestfs-1.7.13-no-fuse-test.patch -# Upstream patches to fix virt-make-fs with qemu-img 0.14. -# These are included after 0.9.9. -Patch1: 0001-virt-make-fs-In-debug-mode-print-qemu-img-command-li.patch -Patch2: 0002-virt-make-fs-Round-disk-size-to-integer-fix-for-qemu.patch - # Basic build requirements: BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2text @@ -431,8 +426,6 @@ php-%{name} contains PHP bindings for %{name}. %setup -q %patch0 -p1 -%patch1 -p1 -%patch2 -p1 mkdir -p daemon/m4 @@ -765,6 +758,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Mar 8 2011 Richard W.M. Jones - 1:1.9.10-1 +- New upstream version 1.9.10. +- Remove patches (now upstream). + * Fri Mar 4 2011 Richard W.M. Jones - 1:1.9.9-2 - Include upstream patches to fix virt-make-fs with qemu-img 0.14. diff --git a/sources b/sources index bf26a06..dc2a50e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a8d111b1272be10aa39b6ecc3a269e6c libguestfs-1.9.9.tar.gz +983f0477185ac4cbf60aa37fcb05656f libguestfs-1.9.10.tar.gz