diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-03-04 08:16:02 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-03-04 08:16:02 +0200 |
commit | 61189cb868c508c143a0a6c4f1a73de2bf0aeb30 (patch) | |
tree | 4a908603ad1f3d4ed8a23e08e34feb0caca742d3 /installplatform | |
parent | 28cba016c813a50b913a6ec484d4a428026c96a7 (diff) | |
download | librpm-tizen-61189cb868c508c143a0a6c4f1a73de2bf0aeb30.tar.gz librpm-tizen-61189cb868c508c143a0a6c4f1a73de2bf0aeb30.tar.bz2 librpm-tizen-61189cb868c508c143a0a6c4f1a73de2bf0aeb30.zip |
Add super-H arch support (rhbz#432496)
Patch from Masaki Chikama
Diffstat (limited to 'installplatform')
-rwxr-xr-x | installplatform | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installplatform b/installplatform index dd3c6f9ce..de458a71f 100755 --- a/installplatform +++ b/installplatform @@ -21,7 +21,7 @@ E_O_F RPM="./rpm --rcfile=$TEMPRC --macros=$MACROS" -canonarch_sed='s_i.86_i386_;s_pentium[34]_i386_;s_athlon_i386_;s_sparc[^-]*_sparc_;s_alpha[^-]*_alpha_;s_arm[^-]*_arm_;s_\(powerpc\|ppc\)[^-]*_ppc_;s,\(ia32e\|amd64\),x86_64,' +canonarch_sed='s_i.86_i386_;s_pentium[34]_i386_;s_athlon_i386_;s_sparc[^-]*_sparc_;s_alpha[^-]*_alpha_;s_arm[^-]*_arm_;s_\(powerpc\|ppc\)[^-]*_ppc_;s,\(ia32e\|amd64\),x86_64,;s_sh4a_sh4_' arch="`$RPM --eval '%{_arch}'|sed -e "$canonarch_sed"`" VENDOR="`$RPM --eval '%{_vendor}'`" OS="`$RPM --eval '%{_os}'`" @@ -33,6 +33,7 @@ case "$arch" in i[3456]86|pentium[34]|athlon|geode) SUBSTS='s_i386_i386_ s_i386_i486_ s_i386_i586_ s_i386_i686_ s_i386_pentium3_ s_i386_pentium4_ s_i386_athlon_ s_i386_geode_' ;; alpha*) SUBSTS='s_alpha_alpha_ s_alpha_alphaev5_ s_alpha_alphaev56_ s_alpha_alphapca56_ s_alpha_alphaev6_ s_alpha_alphaev67_' ;; arm*) SUBSTS='s_arm_armv3l_ s_arm_armv4l_ s_arm_armv4tl_ s_arm_armv5tel_ s_arm_armv5tejl_ s_arm_armv6l_' ;; + sh4*) SUBSTS='s_sh4_sh4_ s_sh4_sh4a_' ;; sparc*) SUBSTS='s_sparc\(64\|64v\|v9v\|v9\)_sparc_ s_sparc64_sparcv9_;s_sparc\([^v]\|$\)_sparcv9\1_ s_sparcv9_sparc64_;s_sparc\([^6]\|$\)_sparc64\1_' ;; powerpc*|ppc*) SUBSTS='s_ppc64_ppc_ s_ppc\([^6ip]\|$\)_ppc64\1_ s_ppc\([^6ip]\|$\)_ppciseries_ s_ppc\([^6ip]\|$\)_ppcpseries_ s_ppc\([^6ip]\|$\)_ppc64iseries_ s_ppc\([^6ip]\|$\)_ppc64pseries_' ;; s390*) SUBSTS='s_s390x_s390_ s_s390\([^x]\|$\)_s390x\1_' ;; |