rpm/m68k.patch

49 lines
1.1 KiB
Diff

Index: installplatform
===================================================================
--- installplatform.orig
+++ installplatform
@@ -108,6 +108,12 @@ for ARCH in noarch `grep ^arch_canon $RP
CANONARCH=aarch64
CANONCOLOR=3
;;
+ m68k)
+ ISANAME=m68k
+ ISABITS=32
+ CANONARCH=m68k
+ CANONCOLOR=0
+ ;;
noarch)
CANONARCH=noarch
CANONCOLOR=0
Index: rpmrc.in
===================================================================
--- rpmrc.in.orig
+++ rpmrc.in
@@ -109,6 +109,8 @@ archcolor: armv5tejl 1
archcolor: armv6l 1
archcolor: armv7l 1
+archcolor: m68k 1
+
archcolor: m68kmint 1
archcolor: s390 1
@@ -299,6 +301,8 @@ buildarchtranslate: armv6hl: armv6hl
buildarchtranslate: armv7l: armv7l
buildarchtranslate: armv7hl: armv7hl
+buildarchtranslate: m68k: m68k
+
buildarchtranslate: atarist: m68kmint
buildarchtranslate: atariste: m68kmint
buildarchtranslate: ataritt: m68kmint
@@ -405,6 +409,8 @@ arch_compat: armv4tl: armv4l
arch_compat: armv4l: armv3l
arch_compat: armv3l: noarch
+arch_compat: m68k: noarch
+
arch_compat: atarist: m68kmint noarch
arch_compat: atariste: m68kmint noarch
arch_compat: ataritt: m68kmint noarch