Home Home > GIT Browse > packaging
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-10-01 14:08:09 +0200
committerMichal Suchanek <msuchanek@suse.de>2018-10-01 14:22:07 +0200
commit85c92724f44a568ef39d6e7df732a1345b63e8b4 (patch)
treeacc03bb74ed883f2badbd478155060e748938fd9
parentd14f1529fa67119cb93798cc91ddd2a47226872f (diff)
rpm/mkspec: fix ppc64 kernel-source build.
-rwxr-xr-xrpm/mkspec3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpm/mkspec b/rpm/mkspec
index 7dfb961462..4c848fadd4 100755
--- a/rpm/mkspec
+++ b/rpm/mkspec
@@ -436,6 +436,9 @@ sub _arch2rpm {
my $arch = shift;
return "\%ix86" if $arch eq "i386";
return "aarch64" if $arch eq "arm64";
+ # there is disagreement between OBS and RPM what the arch is called ..
+ return "ppc64le powerpc64le" if $arch eq "ppc64le";
+ return "ppc64 powerpc64" if $arch eq "ppc64";
return $arch;
}