[flashrom] Enable building on ARM

Peter Robinson pbrobinson at fedoraproject.org
Mon Jul 2 23:45:08 UTC 2012


commit 155f996a6751d76bd43bfcc7086f70d33904d282
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Jul 3 00:44:32 2012 +0100

    Enable building on ARM

 flashrom.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/flashrom.spec b/flashrom.spec
index d827e76..e5717b8 100644
--- a/flashrom.spec
+++ b/flashrom.spec
@@ -1,7 +1,7 @@
 Summary:	Simple program for reading/writing BIOS chips content
 Name:		flashrom
 Version:	0.9.5.2
-Release:	2.svn1530%{?dist}
+Release:	3.svn1530%{?dist}
 License:	GPLv2
 Group:		Applications/System
 URL:		http://flashrom.org
@@ -23,14 +23,14 @@ BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	pciutils-devel
 BuildRequires:	zlib-devel
-%ifnarch ppc ppc64
+%ifnarch ppc ppc64 %{arm}
 BuildRequires:	dmidecode
 Requires:	dmidecode
 %endif
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # see rhbz #450273, #495226
-ExclusiveArch:	%{ix86} x86_64 ppc ppc64
+ExclusiveArch:	%{ix86} x86_64 ppc ppc64 %{arm}
 
 %description
 Utility which can be used to detect BIOS chips (DIP, PLCC), read their contents
@@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/%{name}.*
 
 %changelog
+* Mon Jul  2 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 0.9.5.2-3.svn1530
+- Enable building on ARM
+
 * Sun May 06 2012 Peter Lemenkov <lemenkov at gmail.com> - 0.9.5.2-2.svn1530
 - Updated to latest svn ver. 1530 (post-release snapshot for 0.9.5.2)
 - Support for w83697 family SuperIO chips


More information about the scm-commits mailing list