From 202a49b5807dff713190488ba0cf2a57b14b0b0a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 29 Feb 2012 15:24:49 +0000 Subject: [PATCH] - Remove ExclusiveArch, but don't require dmidecode except on i?86 and x86-64 (RHBZ#791370). --- virt-what.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/virt-what.spec b/virt-what.spec index e8b94be..67c2ff7 100644 --- a/virt-what.spec +++ b/virt-what.spec @@ -1,8 +1,7 @@ Name: virt-what Version: 1.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Detect if we are running in a virtual machine -ExclusiveArch: %{ix86} x86_64 Group: Applications/Emulators License: GPLv2+ @@ -19,7 +18,9 @@ BuildRequires: util-linux # virt-what script uses dmidecode and getopt (from util-linux). # RPM cannot detect this so make the dependencies explicit here. +%ifarch %{ix86} x86_64 Requires: dmidecode +%endif Requires: util-linux @@ -84,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 29 2012 Richard W.M. Jones - 1.11-3 +- Remove ExclusiveArch, but don't require dmidecode except on + i?86 and x86-64 (RHBZ#791370). + * Sat Jan 14 2012 Fedora Release Engineering - 1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild