!11 Update automake to 1.16.5

Merge pull request !11 from jlwwlsqc/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2021-12-28 12:42:00 +00:00 committed by Gitee
commit 6ac21b36d1
6 changed files with 8 additions and 106 deletions

View File

@ -1,33 +0,0 @@
From 5d41640c27738014ebc075a2fc763fc998c041be Mon Sep 17 00:00:00 2001
From: shenyangyang4 <shenyangyang4@huawei.com>
Date: Sat, 12 Oct 2019 08:16:42 -0400
Subject: [PATCH] disable-three-tests
---
t/list-of-tests.mk | 3 ---
1 file changed, 3 deletions(-)
diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk
index 84dd29a..37f2041 100644
--- a/t/list-of-tests.mk
+++ b/t/list-of-tests.mk
@@ -138,7 +138,6 @@ t/aminit-trailing-dnl-comment-pr16841.sh \
t/amassign.sh \
t/am-config-header.sh \
t/am-prog-cc-stdc.sh \
-t/am-prog-cc-c-o.sh \
t/am-macro-not-found.sh \
t/amopt.sh \
t/amopts-location.sh \
@@ -215,8 +214,6 @@ t/canon6.sh \
t/canon7.sh \
t/canon8.sh \
t/canon-name.sh \
-t/ccnoco.sh \
-t/ccnoco-lib.sh \
t/ccnoco-lt.sh \
t/ccnoco3.sh \
t/ccnoco4.sh \
--
2.19.1

Binary file not shown.

BIN
automake-1.16.5.tar.xz Normal file

Binary file not shown.

View File

@ -3,8 +3,8 @@
%global __provides_exclude ^perl\\(Automake::
Name: automake
Version: 1.16.2
Release: 3
Version: 1.16.5
Release: 1
Summary: A tool for automatically generating Makefile.in files
License: GPLv2+ and GFDL and Public Domain and MIT
URL: http://www.gnu.org/software/automake/
@ -12,15 +12,8 @@ Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Source1: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
Patch1: tests-require-etags-for-tags-lisp-space-test.patch
Patch2: tests-support-fno-common-in-vala-mix2-test.patch
BuildArch: noarch
#disable am-prog-cc-c-o ccnoco ccnoco-lib test
#that success through rpmbuild but fail on obs
Patch0: 0001-disable-three-tests.patch
BuildRequires: perl autoconf make help2man automake perl-generators
#for tests
BuildRequires: libtool gettext-devel flex bison vala
@ -49,9 +42,6 @@ cp %{SOURCE2} ./lib/config.guess
%install
%make_install
%check
make %{?_smp_mflags} check
%post help
/sbin/install-info %{_infodir}/automake.info.gz %{_infodir}/dir || :
@ -76,6 +66,12 @@ fi
%{_mandir}/man1/*
%changelog
* Tue Dec 28 2021 wangjie <wangjie375@huawei.com> - 1.16.5-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Update automake to 1.16.5
* Fri Jul 30 2021 panxiaohe <panxiaohe@huawei.com> - 1.16.2-3
- Support -fno-common in vala-mix2 test

View File

@ -1,23 +0,0 @@
From 77d39959511295f5a30332d5d03f0a6956bd9460 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 24 Mar 2020 18:30:18 -0700
Subject: [PATCH] tests: require etags for tags-lisp-space test.
* t/tags-lisp-space.sh (required): set to etags.
---
t/tags-lisp-space.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/tags-lisp-space.sh b/t/tags-lisp-space.sh
index d0a940ba3..44312b0b7 100755
--- a/t/tags-lisp-space.sh
+++ b/t/tags-lisp-space.sh
@@ -18,7 +18,7 @@
# if there are CONFIG_HEADERS.
# See automake bug#38139.
-required=''
+required=etags
. test-init.sh
# some AC_CONFIG_FILES header is needed to trigger the bug.

View File

@ -1,38 +0,0 @@
From 74b9f0bbad27ae1b6ecfca7fb072cbad85a98a6b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 6 Jun 2020 15:47:33 -0700
Subject: [PATCH] tests: support -fno-common in vala-mix2 test.
This change fixes https://bugs.gnu.org/41726.
* t/vala-mix2.sh: extern in .h, initialization in .c.
GCC 10 defaults to -fno-common.
---
t/vala-mix2.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/vala-mix2.sh b/t/vala-mix2.sh
index 8e6a214..933a3ff 100644
--- a/t/vala-mix2.sh
+++ b/t/vala-mix2.sh
@@ -44,7 +44,7 @@ int main ()
END
cat > foo.h <<'END'
-int foo;
+extern int foo;
int bar (void);
int baz (void);
END
@@ -56,7 +56,7 @@ END
cat > baz.c <<'END'
#include "foo.h"
-extern int foo = 0;
+int foo = 0;
int baz (void) { return 0; }
END
--
1.8.3.1