configure: Add another fix for ppc64/ppc64le.
This commit is contained in:
parent
becf491fa1
commit
9bf6336968
24
0001-configure-Map-powerpc64-ppc64.patch
Normal file
24
0001-configure-Map-powerpc64-ppc64.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From a550ecb5f198ff7179df097ffc7847ff576115ee Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Sommerseth <davids@redhat.com>
|
||||||
|
Date: Thu, 6 Nov 2014 15:14:04 +0000
|
||||||
|
Subject: [PATCH] configure: Map powerpc64 -> ppc64.
|
||||||
|
|
||||||
|
---
|
||||||
|
configure.ac | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 8916ebd..fd12431 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -760,6 +760,7 @@ qemu_system="$(
|
||||||
|
$SED -e 's/-i@<:@456@:>@86/-i386/g' \
|
||||||
|
-e 's/-arm.*/-arm/g' \
|
||||||
|
-e 's/-amd64/-x86_64/g' \
|
||||||
|
+ -e 's/-powerpc64/-ppc64/g' \
|
||||||
|
-e 's/-ppc64le/-ppc64/g'
|
||||||
|
)"
|
||||||
|
default_qemu="qemu-kvm kvm $qemu_system qemu"
|
||||||
|
--
|
||||||
|
2.1.0
|
||||||
|
|
@ -32,6 +32,9 @@ License: LGPLv2+
|
|||||||
URL: http://libguestfs.org/
|
URL: http://libguestfs.org/
|
||||||
Source0: http://libguestfs.org/download/1.29-development/%{name}-%{version}.tar.gz
|
Source0: http://libguestfs.org/download/1.29-development/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
# Another fix for ppc64/ppc64le.
|
||||||
|
Patch1: 0001-configure-Map-powerpc64-ppc64.patch
|
||||||
|
|
||||||
# Basic build requirements:
|
# Basic build requirements:
|
||||||
BuildRequires: perl(Pod::Simple)
|
BuildRequires: perl(Pod::Simple)
|
||||||
BuildRequires: perl(Pod::Man)
|
BuildRequires: perl(Pod::Man)
|
||||||
@ -728,6 +731,8 @@ for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
if [ "$(getenforce | tr '[A-Z]' '[a-z]')" != "disabled" ]; then
|
if [ "$(getenforce | tr '[A-Z]' '[a-z]')" != "disabled" ]; then
|
||||||
# For sVirt to work, the local temporary directory we use in the
|
# For sVirt to work, the local temporary directory we use in the
|
||||||
# tests must be labelled the same way as /tmp.
|
# tests must be labelled the same way as /tmp.
|
||||||
|
Loading…
Reference in New Issue
Block a user