The various ARM families need similar handling like i?86. --- rpm/arch-symbols | 5 ++++- rpm/mkspec | 1 + 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/rpm/arch-symbols b/rpm/arch-symbols index 47c100a..f714e67 100755 --- a/rpm/arch-symbols +++ b/rpm/arch-symbols @@ -25,7 +25,7 @@ if [ "$1" = "--list" ]; then # List all known architectures - echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc + echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc arm exit 0 fi @@ -39,6 +39,9 @@ case "$ARCH" in i?86 | pentium3 | pentium4 | athlon | geode) echo i386 ;; + arm*) + echo arm + ;; *) echo "$ARCH" ;; diff --git a/rpm/mkspec b/rpm/mkspec index 5815137..5a27c99 100755 --- a/rpm/mkspec +++ b/rpm/mkspec @@ -248,6 +248,7 @@ sub arch2rpm { sub _arch2rpm { my $arch = shift; return "\%ix86" if $arch eq "i386"; + return "\%arm" if $arch eq "arm"; return $arch; } -- 1.7.6.1 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org