Accepting request 202686 from Base:System

- m68k.patch: Add support for m68k (forwarded request 202683 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/202686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=216
This commit is contained in:
Tomáš Chvátal 2013-10-09 21:41:55 +00:00 committed by Git OBS Bridge
commit b1e3c5baa6
3 changed files with 55 additions and 0 deletions

48
m68k.patch Normal file
View File

@ -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

View File

@ -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

View File

@ -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}