[packages/libvirt] libvirt-guests uses bash specific for loop, force bash shell

glen glen at pld-linux.org
Sat Apr 5 01:54:45 CEST 2014


commit 6d974b6936c28492b3885361248b70fc88e3379a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Apr 5 02:54:15 2014 +0300

    libvirt-guests uses bash specific for loop, force bash shell

 bashisms.patch | 8 ++++++++
 libvirt.spec   | 5 ++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/libvirt.spec b/libvirt.spec
index a8950a3..86ca832 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -34,11 +34,12 @@
 %ifnarch %{ix86} %{x8664} ia64
 %undefine	with_xen
 %endif
+
 Summary:	Toolkit to interact with virtualization capabilities
 Summary(pl.UTF-8):	Narzędzia współpracujące z funkcjami wirtualizacji
 Name:		libvirt
 Version:	1.2.3
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	ftp://ftp.libvirt.org/libvirt/%{name}-%{version}.tar.gz
@@ -52,6 +53,7 @@ Patch3:		%{name}-xend.patch
 Patch4:		virtlockd.init.patch
 Patch5:		%{name}-udevadm-settle.patch
 Patch6:		vserver.patch
+Patch7:		bashisms.patch
 URL:		http://www.libvirt.org/
 BuildRequires:	audit-libs-devel
 BuildRequires:	augeas-devel
@@ -421,6 +423,7 @@ Sondy systemtap/dtrace dla libvirt.
 %patch4 -p1
 %patch5 -p1
 %{?with_vserver:%patch6 -p1}
+%patch7 -p1
 
 %build
 %{__libtoolize}
diff --git a/bashisms.patch b/bashisms.patch
new file mode 100644
index 0000000..9d7dfc4
--- /dev/null
+++ b/bashisms.patch
@@ -0,0 +1,8 @@
+--- libvirt-1.2.3/tools/libvirt-guests.sh.in~	2014-02-26 05:09:50.000000000 +0200
++++ libvirt-1.2.3/tools/libvirt-guests.sh.in	2014-04-05 02:52:16.187741175 +0300
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ 
+ # Copyright (C) 2011-2013 Red Hat, Inc.
+ #
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/6d974b6936c28492b3885361248b70fc88e3379a



More information about the pld-cvs-commit mailing list