diff --git a/auto-config-update-aarch64-ppc64le.diff b/auto-config-update-aarch64-ppc64le.diff index 2ec8b56..907d75f 100644 --- a/auto-config-update-aarch64-ppc64le.diff +++ b/auto-config-update-aarch64-ppc64le.diff @@ -1,6 +1,6 @@ --- ./build/parseSpec.c.orig 2019-10-02 12:38:51.836127743 +0000 +++ ./build/parseSpec.c 2019-10-02 12:52:33.818447657 +0000 -@@ -926,7 +926,24 @@ static rpmSpec parseSpec(const char *spe +@@ -926,7 +926,22 @@ static rpmSpec parseSpec(const char *spe &(spec->buildrequires)); break; case PART_BUILD: @@ -12,13 +12,11 @@ + } + spec->build = newStringBuf(); + appendLineStringBuf(spec->build, -+ "ref=/usr/lib/rpm\n" ++ "ref=/usr/lib/rpm; testarch=$(uname -m)\n" + "for s in guess sub; do\n" + " for c in $(find -maxdepth 8 -name \"config.$s\"); do\n" + " grep -q config-patches@ $c || continue\n" -+ " grep -q aarch64 $c || install -m 755 $ref/config.$s $c\n" -+ " grep -q ppc64le $c || install -m 755 $ref/config.$s $c\n" -+ " grep -q 'riscv64[-:]' $c || install -m 755 $ref/config.$s $c\n" ++ " grep -q $testarch\\[-:\\] $c || install -m 755 $ref/config.$s $c\n" + " done\n" + "done\n" + ); diff --git a/rpm.changes b/rpm.changes index 0d5f3c3..41a6f7a 100644 --- a/rpm.changes +++ b/rpm.changes @@ -10,6 +10,12 @@ Mon May 4 13:11:34 UTC 2020 - Dominique Leuenberger - Update rpmconfigcheck: Remove bashism and use /bin/sh instead of /bin/bash. +------------------------------------------------------------------- +Thu Apr 30 12:16:46 UTC 2020 - Dirk Mueller + +- update auto-config-update-aarch64-ppc64le.diff (bsc#1170849): + * only update if hostarch isn't there + ------------------------------------------------------------------- Tue Apr 14 11:50:49 CEST 2020 - mls@suse.de