- fix macro adjusting in installplatform
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=330
This commit is contained in:
parent
2e211b84e2
commit
cd5025c1b6
25
gentlyadjustmacros.diff
Normal file
25
gentlyadjustmacros.diff
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
commit 46993cd3846a8c8935c980e30bbc3718338e2378
|
||||||
|
Author: Panu Matilainen <pmatilai@redhat.com>
|
||||||
|
Date: Fri May 9 10:56:46 2014 +0300
|
||||||
|
|
||||||
|
Sometimes a smaller hammer is better (but only sometimes)
|
||||||
|
|
||||||
|
- The sed-munger added in commit ccd6281e699781e0b00edb16b6e9f4dec6878c15
|
||||||
|
causes bigger breakage than it fixes, perhaps because the hammer
|
||||||
|
applied was disproportionally large. The only thing needing adjustment
|
||||||
|
is ${prefix} in case when localstatedir is not explicitly set, so
|
||||||
|
we fixup just that instead of "everything".
|
||||||
|
- Discovered via RhBug:921973 testing
|
||||||
|
|
||||||
|
diff --git a/installplatform b/installplatform
|
||||||
|
index ffaef48..98b87f3 100755
|
||||||
|
--- installplatform.orig
|
||||||
|
+++ installplatform
|
||||||
|
@@ -154,5 +154,5 @@ for ARCH in noarch `grep ^arch_canon $RPMRC | cut -d: -f2`; do
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
-# gently adjust autoconf variables to rpm macros...
|
||||||
|
-cat $MACROS | sed -e '/\${\w*:-/!s,\${,%{_,' > ${DESTDIR}/${pkglibdir}/macros
|
||||||
|
+# gently adjust undefined autoconf variables to rpm macros...
|
||||||
|
+cat $MACROS | sed -e 's,${prefix},%{_prefix},g' > ${DESTDIR}/${pkglibdir}/macros
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 13:33:09 CEST 2014 - mls@suse.de
|
||||||
|
|
||||||
|
- fix macro adjusting in installplatform
|
||||||
|
the old code broke macos like GNUconfigure [bnc#874897]
|
||||||
|
new patch: gentlyadjustmacros.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 25 15:41:57 CEST 2014 - mls@suse.de
|
Fri Apr 25 15:41:57 CEST 2014 - mls@suse.de
|
||||||
|
|
||||||
|
3
rpm.spec
3
rpm.spec
@ -138,6 +138,7 @@ Patch93: weakdepscompat.diff
|
|||||||
Patch94: checksepwarn.diff
|
Patch94: checksepwarn.diff
|
||||||
Patch95: exportoldtags.diff
|
Patch95: exportoldtags.diff
|
||||||
Patch96: rundir.diff
|
Patch96: rundir.diff
|
||||||
|
Patch97: gentlyadjustmacros.diff
|
||||||
Patch6464: auto-config-update-aarch64-ppc64le.diff
|
Patch6464: auto-config-update-aarch64-ppc64le.diff
|
||||||
Patch68000: m68k.patch
|
Patch68000: m68k.patch
|
||||||
Patch68001: debugedit-m68k.patch
|
Patch68001: debugedit-m68k.patch
|
||||||
@ -227,7 +228,7 @@ rm -f rpmdb/db.h
|
|||||||
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69
|
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69
|
||||||
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
|
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
|
||||||
%patch -P 80 -P 82 -P 85
|
%patch -P 80 -P 82 -P 85
|
||||||
%patch -P 92 -P 93 -P 94 -P 95 -P 96
|
%patch -P 92 -P 93 -P 94 -P 95 -P 96 -P 97
|
||||||
|
|
||||||
%ifarch aarch64 ppc64le
|
%ifarch aarch64 ppc64le
|
||||||
%patch6464
|
%patch6464
|
||||||
|
Loading…
Reference in New Issue
Block a user