2cb8236317
personality changed to ppc) OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=230
12 lines
463 B
Diff
12 lines
463 B
Diff
--- lib/rpmrc.c 2012/10/16 16:37:34 1.1
|
|
+++ lib/rpmrc.c 2012/10/16 16:38:10
|
|
@@ -1091,7 +1091,7 @@
|
|
# if defined(__linux__) && defined(__powerpc__)
|
|
{
|
|
int powerlvl;
|
|
- if (sscanf(rpmat.platform, "power%d", &powerlvl) == 1 && powerlvl > 6)
|
|
+ if (!rstreq(un.machine, "ppc") && sscanf(rpmat.platform, "power%d", &powerlvl) == 1 && powerlvl > 6)
|
|
strcpy(un.machine, "ppc64p7");
|
|
}
|
|
# endif /* ppc64*-linux */
|