From 6586efa85dafc786cf32c815ca33fea937a41010 Mon Sep 17 00:00:00 2001 From: randy1568 Date: Wed, 24 Jul 2024 10:15:21 +0800 Subject: [PATCH] Fix build failure due to automake upgrade --- libguestfs.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libguestfs.spec b/libguestfs.spec index 5351979..772d556 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -4,7 +4,7 @@ Name: libguestfs Version: 1.49.5 -Release: 2 +Release: 3 Epoch: 1 Summary: A set of tools for accessing and modifying virtual machine (VM) disk images License: LGPLv2+ @@ -190,6 +190,9 @@ This package includes man files for %{name}. %prep %autosetup -p1 +#automake 1.17 +sed -i "s|am__api_version='1.16|am__api_version='1.17|g" configure + cd .. cp -a %{name}-%{version} %{name}-%{version}-python3 cd - @@ -216,6 +219,7 @@ fi extra=--with-supermin-packager-config=$(pwd)/yum.conf fi +autoreconf -f %global localconfigure \ %{configure} \\\ --with-default-backend=libvirt \\\ @@ -232,6 +236,7 @@ fi %{localmake} cd ../%{name}-%{version}-python3 +autoreconf -f export PYTHON=%{__python3} while [ ! -f ../%{name}-%{version}/generator/.pod2text* ] do @@ -359,6 +364,9 @@ rm -rf ocaml/html/.gitignore %lang(uk) %{_mandir}/uk/man*/* %changelog +* Wed Jul 24 2024 yuanlipeng - 1:1.49.5-3 +- Fix build failure due to automake upgrade + * Wed Feb 22 2023 wulei - 1:1.49.5-2 - Enable Vala bindings -- Gitee