From 1885be5cc7663d48b5a08e728d4f49c7ea7e2195 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 17 Feb 2009 20:43:27 +0000 Subject: [PATCH] fix arm arches --- ...at-rpm-config-9.0.3-F-11-Architectures.patch | 17 +++++++++++++++-- redhat-rpm-config.spec | 6 +++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/redhat-rpm-config-9.0.3-F-11-Architectures.patch b/redhat-rpm-config-9.0.3-F-11-Architectures.patch index c5b53b6..7ef3f9e 100644 --- a/redhat-rpm-config-9.0.3-F-11-Architectures.patch +++ b/redhat-rpm-config-9.0.3-F-11-Architectures.patch @@ -1,5 +1,6 @@ +diff -Nur redhat-rpm-config-9.0.3-orig/rpmrc redhat-rpm-config-9.0.3/rpmrc --- redhat-rpm-config-9.0.3-orig/rpmrc 2008-05-06 18:08:20.000000000 -0500 -+++ redhat-rpm-config-9.0.3/rpmrc 2009-02-16 17:56:12.001032687 -0600 ++++ redhat-rpm-config-9.0.3/rpmrc 2009-02-17 14:38:12.000000000 -0600 @@ -2,7 +2,7 @@ optflags: i386 %{__global_cflags} -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables @@ -19,7 +20,15 @@ optflags: m68k %{__global_cflags} -@@ -56,7 +58,19 @@ +@@ -47,6 +49,7 @@ + optflags: armv5tel %{__global_cflags} -march=armv5te + optflags: armv5tejl %{__global_cflags} -march=armv5te + optflags: armv6l %{__global_cflags} -march=armv6 ++optflags: armv7l %{__global_cflags} -march=armv7 + + optflags: atarist %{__global_cflags} + optflags: atariste %{__global_cflags} +@@ -56,7 +59,23 @@ optflags: milan %{__global_cflags} optflags: hades %{__global_cflags} @@ -39,5 +48,9 @@ + +buildarchtranslate: sparcv9: sparcv9 +buildarchtranslate: sparcv9v: sparcv9 ++ ++buildarchtranslate: armv5tejl: armv5tel ++buildarchtranslate: armv6l: armv5tel ++buildarchtranslate: armv7l: armv5tel macrofiles: /usr/lib/rpm/macros:/usr/lib/rpm/%{_target}/macros:/usr/lib/rpm/redhat/macros:/etc/rpm/macros.*:/etc/rpm/macros:/etc/rpm/%{_target}/macros:~/.rpmmacros diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 6122c8e..174d999 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -1,7 +1,7 @@ Summary: Red Hat specific rpm configuration files. Name: redhat-rpm-config Version: 9.0.3 -Release: 5%{?dist} +Release: 6%{?dist} # No version specified. License: GPL+ Group: Development/System @@ -33,6 +33,10 @@ rm -rf ${RPM_BUILD_ROOT} %{_prefix}/lib/rpm/redhat %changelog +* Tue Feb 17 2009 Dennis Gilmore - 9.0.3-6 +- add missing armv7l arch +- set the default build arch to match fedora arm build target + * Mon Feb 16 2009 Dennis Gilmore - 9.0.3-5 - apply fedora 11 default buildflags - set 32 bit intel build arch to i586 on compatiable hardware