diff --git a/automake-SuSE.patch b/automake-SuSE.patch index 6fe4319..189cff1 100644 --- a/automake-SuSE.patch +++ b/automake-SuSE.patch @@ -4,8 +4,8 @@ Index: lib/config.guess =================================================================== ---- lib/config.guess.orig 2015-02-10 12:01:47.557016290 +0100 -+++ lib/config.guess 2015-02-10 12:05:32.791670816 +0100 +--- lib/config.guess.orig ++++ lib/config.guess @@ -153,6 +153,16 @@ Linux|GNU|GNU/*) ;; esac @@ -290,7 +290,8 @@ Index: lib/config.guess + echo powerpcle-${VENDOR}-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux-${LIBC} +- echo ${UNAME_MACHINE}-ibm-linux-${LIBC} ++ echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC} exit ;; sh64*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-${LIBC} @@ -447,3 +448,28 @@ Index: lib/config.guess exit ;; esac +Index: lib/config.sub +=================================================================== +--- lib/config.sub.orig ++++ lib/config.sub +@@ -1058,12 +1058,18 @@ case $basic_machine in + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; +- s390 | s390-*) ++ s390) + basic_machine=s390-ibm + ;; +- s390x | s390x-*) ++ s390-*) ++ basic_machine=s390-`echo $basic_machine | sed 's/^[^-]*-//'` ++ ;; ++ s390x) + basic_machine=s390x-ibm + ;; ++ s390x-*) ++ basic_machine=s390x-`echo $basic_machine | sed 's/^[^-]*-//'` ++ ;; + sa29200) + basic_machine=a29k-amd + os=-udi diff --git a/automake-testsuite.spec b/automake-testsuite.spec index 4f26d20..38c7cd5 100644 --- a/automake-testsuite.spec +++ b/automake-testsuite.spec @@ -1,7 +1,7 @@ # # spec file for package automake-testsuite # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/automake.changes b/automake.changes index 85fe4b6..dc51c03 100644 --- a/automake.changes +++ b/automake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 10 07:34:09 UTC 2017 - bg@suse.com + +- use vendor suse instead of IBM on s390x + ------------------------------------------------------------------- Sun Jun 26 19:13:10 UTC 2016 - mpluskal@suse.com diff --git a/automake.spec b/automake.spec index a168f63..4b4e083 100644 --- a/automake.spec +++ b/automake.spec @@ -1,7 +1,7 @@ # # spec file for package automake # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed