[cpufrequtils] build on ARM

Peter Robinson pbrobinson at fedoraproject.org
Sun Feb 19 15:30:59 UTC 2012


commit 2e818be1367081b83c11ef6d0473f078a39d6167
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sun Feb 19 15:30:51 2012 +0000

    build on ARM

 cpufrequtils.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/cpufrequtils.spec b/cpufrequtils.spec
index d49f4ba..b8d45ad 100644
--- a/cpufrequtils.spec
+++ b/cpufrequtils.spec
@@ -1,7 +1,7 @@
 Summary:        CPU Frequency changing related utilities
 Name:           cpufrequtils
 Version:        008
-Release:        6%{?dist}
+Release:        7%{?dist}
 Group:          System Environment/Base
 License:        GPLv2
 URL:            http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
@@ -9,11 +9,11 @@ Source:         http://www.kernel.org/pub/linux/utils/kernel/cpufreq/%{name}-%{v
 Patch0:         disable-gsic.patch
 Patch1:         cpufrequtils-multilib.patch
 Patch2:         cpufrequtils-008-aperf-32bit.patch
-Patch50:         cpufrequtils-008-no-aperf-on-ppc.patch
+Patch50:        cpufrequtils-008-no-aperf-on-ppc.patch
 BuildRequires:  libsysfs-devel gettext
 # pulls in automake and autoconf
 BuildRequires:  libtool
-ExclusiveArch:  %{ix86} x86_64 ppc ppc64
+ExclusiveArch:  %{ix86} x86_64 ppc ppc64 %{arm}
 Provides:       cpufreq-utils = 1:%{version}-%{release}
 Obsoletes:      cpufreq-utils < 1:%{version}-%{release}
 
@@ -35,7 +35,7 @@ The cpufrequtils development files.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1 -b .aperf-32bit
-%ifarch ppc ppc64
+%ifarch ppc ppc64 %{arm}
 %patch50 -p1 -b .no-aperf-on-ppc
 %endif
 
@@ -91,6 +91,9 @@ chmod -R a-s %{buildroot}
 %{_includedir}/cpufreq.h
 
 %changelog
+* Sun Feb 19 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 008-7
+- Build on ARM
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 008-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list