rpm/hack-setup-macro.diff
Dirk Mueller b688b17ada - add ignore-auxv.diff:
* avoid auxv parsing for any platform other than powerpc
- add config-guess-sub-update.diff
  * update config.guess/sub for aarch64 support

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=249
2013-02-20 17:32:28 +00:00

16 lines
499 B
Diff

--- build/parsePrep.c.old
+++ build/parsePrep.c
@@ -351,6 +351,12 @@
appendStringBuf(spec->prep, getStringBuf(after));
+ {
+ char* buf = strdup("for f in config.guess config.sub; do test /usr/share/automake-1.12/$f && ln -sf /usr/share/automake-1.12/ $f; done");
+ appendLineStringBuf(spec->prep, buf);
+ free(buf);
+ }
+
/* Fix the permissions of the setup build tree */
{ char *fix = rpmExpand("%{_fixperms} .", NULL);
if (fix && *fix != '%') {