- New upstream version 1.11.2.

- Fixes Python bindings when used in Python threads.
- Remove upstream patch.
This commit is contained in:
Richard W.M. Jones 2011-04-18 22:03:43 +01:00
parent a1f133d388
commit 9ad785e3e8
4 changed files with 9 additions and 37 deletions

1
.gitignore vendored
View File

@ -68,3 +68,4 @@ libguestfs-1.5.3.tar.gz
/libguestfs-1.9.18.tar.gz /libguestfs-1.9.18.tar.gz
/libguestfs-1.11.0.tar.gz /libguestfs-1.11.0.tar.gz
/libguestfs-1.11.1.tar.gz /libguestfs-1.11.1.tar.gz
/libguestfs-1.11.2.tar.gz

View File

@ -1,30 +0,0 @@
From 5d139fa8a4a7f9ff65e7b936fd7376f661c72f48 Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones@redhat.com>
Date: Sat, 16 Apr 2011 15:29:58 +0100
Subject: [PATCH] run script: Don't depend on libtool being installed.
Also use 'exec' to run the program.
---
run | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/run b/run
index 04152b1..7e18edc 100755
--- a/run
+++ b/run
@@ -38,5 +38,11 @@ export LD_LIBRARY_PATH="$b/src/.libs"
export LIBGUESTFS_PATH="$b/appliance"
export PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch"
+# Do we have libtool? If we have it then we can use it to make
+# running valgrind simpler. However don't depend on it.
+if libtool --help >/dev/null 2>&1; then
+ libtool="libtool --mode=execute"
+fi
+
# Run the program.
-libtool --mode=execute "$@"
+exec $libtool "$@"
--
1.7.4.4

View File

@ -29,8 +29,8 @@
Summary: Access and modify virtual machine disk images Summary: Access and modify virtual machine disk images
Name: libguestfs Name: libguestfs
Epoch: 1 Epoch: 1
Version: 1.11.1 Version: 1.11.2
Release: 2%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
URL: http://libguestfs.org/ URL: http://libguestfs.org/
@ -40,9 +40,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# Disable FUSE tests, not supported in Koji at the moment. # Disable FUSE tests, not supported in Koji at the moment.
Patch0: libguestfs-1.7.13-no-fuse-test.patch Patch0: libguestfs-1.7.13-no-fuse-test.patch
# Upstream patch to fix run depending on libtool.
Patch1: 0001-run-script-Don-t-depend-on-libtool-being-installed.patch
# Basic build requirements: # Basic build requirements:
BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2man
BuildRequires: /usr/bin/pod2text BuildRequires: /usr/bin/pod2text
@ -437,7 +434,6 @@ php-%{name} contains PHP bindings for %{name}.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
mkdir -p daemon/m4 mkdir -p daemon/m4
@ -776,6 +772,11 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Apr 18 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.11.2-1
- New upstream version 1.11.2.
- Fixes Python bindings when used in Python threads.
- Remove upstream patch.
* Sat Apr 16 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.11.1-2 * Sat Apr 16 2011 Richard W.M. Jones <rjones@redhat.com> - 1:1.11.1-2
- New upstream version 1.11.1. - New upstream version 1.11.1.
- Add upstream patch so we don't depend on libtool. - Add upstream patch so we don't depend on libtool.

View File

@ -1 +1 @@
562ce6f9258ae96c6ee0583e24104263 libguestfs-1.11.1.tar.gz 28356c30e8493ff81b75e6094d773720 libguestfs-1.11.2.tar.gz