From d2548f85282a332e17f301ab892e88f8b38f95f6 Mon Sep 17 00:00:00 2001 From: randy1568 Date: Tue, 23 Jul 2024 15:12:40 +0800 Subject: [PATCH] Fix build failure due to automake upgrade --- mpich.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mpich.spec b/mpich.spec index 5adf655..e7f7ad5 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 4.0.3 -Release: 4 +Release: 5 License: MIT URL: http://www.mpich.org/ Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz @@ -77,7 +77,14 @@ mpich support for Python 3. %prep %autosetup -p1 +#automake 1.17 +for file in $(find . -name "*configure*") +do + sed -i "s|am__api_version='1.16|am__api_version='1.17|g" $file +done + %build +autoreconf -f %configure \ --enable-sharedlibs=gcc \ --enable-shared \ @@ -201,6 +208,9 @@ make check V=1 %{python3_sitearch}/mpich.pth %changelog +* Tue Jul 23 2024 yuanlipeng - 4.0.3-5 +- Fix build failure due to automake upgrade + * Thu Jul 27 2023 misaka00251 - 4.0.3-4 - Fix build error on riscv64 -- Gitee