From 19b1a4479b595a9acbec03ccecc630eb02e9560c Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Oct 01 2010 21:47:55 +0000 Subject: Put the /dev/fd avoidance patch back in, mock still not fixed. --- diff --git a/libguestfs-1.5.18-disable-test-copy.patch b/libguestfs-1.5.18-disable-test-copy.patch new file mode 100644 index 0000000..6168025 --- /dev/null +++ b/libguestfs-1.5.18-disable-test-copy.patch @@ -0,0 +1,54 @@ +diff -ur libguestfs-1.5.18.old/regressions/Makefile.am libguestfs-1.5.18/regressions/Makefile.am +--- libguestfs-1.5.18.old/regressions/Makefile.am 2010-09-22 14:11:40.000000000 +0100 ++++ libguestfs-1.5.18/regressions/Makefile.am 2010-09-22 15:48:22.464936941 +0100 +@@ -34,7 +34,6 @@ + rhbz580246.sh \ + test-cancellation-download-librarycancels.sh \ + test-cancellation-upload-daemoncancels.sh \ +- test-copy.sh \ + test-find0.sh \ + test-guestfish-a.sh \ + test-guestfish-d.sh \ +@@ -51,7 +50,8 @@ + test-stringlist.sh + + SKIPPED_TESTS = \ +- test-bootbootboot.sh ++ test-bootbootboot.sh \ ++ test-copy.sh + + FAILING_TESTS = \ + test-qemudie-launchfail.sh +diff -ur libguestfs-1.5.18.old/regressions/Makefile.in libguestfs-1.5.18/regressions/Makefile.in +--- libguestfs-1.5.18.old/regressions/Makefile.in 2010-09-22 14:43:08.000000000 +0100 ++++ libguestfs-1.5.18/regressions/Makefile.in 2010-09-22 15:49:06.557914577 +0100 +@@ -79,13 +79,12 @@ + rhbz503169c10.sh rhbz503169c13.sh rhbz557655.sh rhbz576879.sh \ + rhbz578407.sh rhbz580246.sh \ + test-cancellation-download-librarycancels.sh \ +- test-cancellation-upload-daemoncancels.sh test-copy.sh \ +- test-find0.sh test-guestfish-a.sh test-guestfish-d.sh \ +- test-luks.sh test-lvm-filtering.sh test-lvm-mapping.pl \ +- test-noexec-stack.pl test-qemudie-killsub.sh \ +- test-qemudie-midcommand.sh test-qemudie-synch.sh \ +- test-read_file.sh test-remote.sh test-reopen.sh \ +- test-stringlist.sh ++ test-cancellation-upload-daemoncancels.sh test-find0.sh \ ++ test-guestfish-a.sh test-guestfish-d.sh test-luks.sh \ ++ test-lvm-filtering.sh test-lvm-mapping.pl test-noexec-stack.pl \ ++ test-qemudie-killsub.sh test-qemudie-midcommand.sh \ ++ test-qemudie-synch.sh test-read_file.sh test-remote.sh \ ++ test-reopen.sh test-stringlist.sh + check_PROGRAMS = rhbz501893$(EXEEXT) + subdir = regressions + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +@@ -986,7 +985,8 @@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + SKIPPED_TESTS = \ +- test-bootbootboot.sh ++ test-bootbootboot.sh \ ++ test-copy.sh + + FAILING_TESTS = \ + test-qemudie-launchfail.sh diff --git a/libguestfs.spec b/libguestfs.spec index d62cda0..f68f760 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -42,7 +42,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.5.21 -Release: 1%{?dist} +Release: 1%{?dist}.2 License: LGPLv2+ Group: Development/Libraries URL: http://libguestfs.org/ @@ -52,6 +52,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Disable FUSE tests, not supported in Koji at the moment. Patch0: libguestfs-1.0.79-no-fuse-test.patch +# Disable test-copy since it requires /dev/fd which is not yet created by mock. +Patch1: libguestfs-1.5.18-disable-test-copy.patch + # Basic build requirements: BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2text @@ -411,6 +414,7 @@ php-%{name} contains PHP bindings for %{name}. %setup -q %patch0 -p1 +%patch1 -p1 mkdir -p daemon/m4 @@ -740,6 +744,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 1 2010 Richard Jones - 1:1.5.21-1.fc14.2 +- Put the /dev/fd avoidance patch back in, mock still not fixed. + * Fri Oct 1 2010 Richard Jones - 1:1.5.21-1 - New upstream development version 1.5.21. - Remove upstream patch.