[matahari] Only depend on dmidecode where it exists.

Russell Bryant russellb at fedoraproject.org
Thu Oct 13 16:57:27 UTC 2011


commit 47044e759c2406cd7490d0741dd9a78cc3f73475
Author: Russell Bryant <rbryant at redhat.com>
Date:   Thu Oct 13 12:50:01 2011 -0400

    Only depend on dmidecode where it exists.
    
    Resolves: rhbz#745386
    
    Signed-off-by: Russell Bryant <rbryant at redhat.com>

 matahari.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/matahari.spec b/matahari.spec
index c5f8875..e645bd5 100644
--- a/matahari.spec
+++ b/matahari.spec
@@ -1,4 +1,4 @@
-%global specversion 1
+%global specversion 2
 %global upstream_version 94a4de1
 
 # Messaging buses
@@ -131,7 +131,9 @@ Summary:	QMF agent for remote hosts
 Group:		Applications/System
 Requires:	%{name}-lib = %{version}-%{release}
 Requires:	%{name}-agent-lib = %{version}-%{release}
+%ifarch i386 x86_64
 Requires:	dmidecode
+%endif
 
 %description host
 QMF agent for viewing and controlling remote hosts
@@ -534,6 +536,10 @@ test "x%{buildroot}" != "x" && rm -rf %{buildroot}
 %endif
 
 %changelog
+* Mon Sep 26 2011 Russell Bryant <rbryant at redhat.com> 0.4.7-0.2.94a4de1.git
+- Only depend on dmidecode on architectures that include it (i386 and x86_64)
+- Resolves: rhbz#745386
+
 * Mon Sep 26 2011 Russell Bryant <rbryant at redhat.com> 0.4.7-0.1.94a4de1.git
 - Include latest upstream fixes
 


More information about the scm-commits mailing list