- update auto-config-update-aarch64-ppc64le.diff (bsc#1170849):
* only update if hostarch isn't there OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=546
This commit is contained in:
parent
765784039c
commit
cd26e86b5f
@ -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"
|
||||
+ );
|
||||
|
@ -10,6 +10,12 @@ Mon May 4 13:11:34 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
- Update rpmconfigcheck: Remove bashism and use /bin/sh instead of
|
||||
/bin/bash.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 12:16:46 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user