From 75861eac9d20bfaef85f6885aff650d1744453cd Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 27 Jul 2012 10:28:00 +0100 Subject: [PATCH] Remove some old debugging from the spec file. Not useful recently, and we can always add it back if we need it again. --- libguestfs.spec | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 49663c5..507e584 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -719,10 +719,6 @@ enabled=1 gpgcheck=0 EOF %define extra --with-febootstrap-yum-config=$(pwd)/yum.conf -echo "==== /etc/yum.conf ====" -cat /etc/yum.conf -echo "==== our yum.conf ====" -cat yum.conf %endif ./configure \ @@ -732,31 +728,12 @@ cat yum.conf --with-extra="fedora=%{fedora},release=%{release}" \ --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ --enable-install-daemon \ - %{extra} || { - echo "==== config.log ====" - cat config.log - exit 1 -} - -echo "==== config.log ====" -cat config.log + %{extra} # 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir # not the site dir. make V=1 INSTALLDIRS=vendor %{?_smp_mflags} -# Useful for debugging appliance problems. -for f in appliance/supermin.d/*.img; do - b=`basename $f` - echo "==== $b ====" - ls -l $f - cpio -itv < $f -done -echo "==== hostfiles ====" -ls -l appliance/supermin.d/hostfiles -cat appliance/supermin.d/hostfiles -echo "======================================================================" - %check # Enable debugging - very useful if a test does fail, although