diff --git a/m68k.patch b/m68k.patch new file mode 100644 index 0000000..2f09a73 --- /dev/null +++ b/m68k.patch @@ -0,0 +1,48 @@ +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 diff --git a/rpm.changes b/rpm.changes index 96a2430..23ac616 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 9 09:49:47 UTC 2013 - schwab@suse.de + +- m68k.patch: Add support for m68k + ------------------------------------------------------------------- Wed Oct 2 18:24:42 CEST 2013 - mls@suse.de diff --git a/rpm.spec b/rpm.spec index 54cdcc8..3b6ef4a 100644 --- a/rpm.spec +++ b/rpm.spec @@ -143,6 +143,7 @@ Patch88: selfconflicts.diff Patch89: application_provides.diff Patch90: appdata_provides.diff Patch6464: auto-config-update-aarch64.diff +Patch68000: m68k.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # # avoid bootstrapping problem @@ -233,6 +234,7 @@ rm -f rpmdb/db.h %ifarch aarch64 %patch6464 %endif +%patch68000 cp config.guess config.sub db/dist/ cp config.guess config.sub beecrypt/ #chmod 755 scripts/find-supplements{,.ksyms}