[virt-what/f17] - Remove ExclusiveArch, but don't require dmidecode except on i?86 and x86-64 (RHBZ#791370). (cher
Richard W.M. Jones
rjones at fedoraproject.org
Thu Apr 12 12:35:00 UTC 2012
commit 2cd66223ee6eabfa509a6dc0f34f356c98fd29f0
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Feb 29 15:24:49 2012 +0000
- Remove ExclusiveArch, but don't require dmidecode except on
i?86 and x86-64 (RHBZ#791370).
(cherry picked from commit 202a49b5807dff713190488ba0cf2a57b14b0b0a)
virt-what.spec | 9 +++++++--
1 files 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 <rjones at redhat.com> - 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 <rel-eng at lists.fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list