- Remove ExclusiveArch, but don't require dmidecode except on

i?86 and x86-64 (RHBZ#791370).
This commit is contained in:
Richard W.M. Jones 2012-02-29 15:24:49 +00:00
parent 050c5aa681
commit 202a49b580

View File

@ -1,8 +1,7 @@
Name: virt-what Name: virt-what
Version: 1.11 Version: 1.11
Release: 2%{?dist} Release: 3%{?dist}
Summary: Detect if we are running in a virtual machine Summary: Detect if we are running in a virtual machine
ExclusiveArch: %{ix86} x86_64
Group: Applications/Emulators Group: Applications/Emulators
License: GPLv2+ License: GPLv2+
@ -19,7 +18,9 @@ BuildRequires: util-linux
# virt-what script uses dmidecode and getopt (from util-linux). # virt-what script uses dmidecode and getopt (from util-linux).
# RPM cannot detect this so make the dependencies explicit here. # RPM cannot detect this so make the dependencies explicit here.
%ifarch %{ix86} x86_64
Requires: dmidecode Requires: dmidecode
%endif
Requires: util-linux Requires: util-linux
@ -84,6 +85,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Feb 29 2012 Richard W.M. Jones <rjones@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@lists.fedoraproject.org> - 1.11-2 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild