From a0742a8d56263fa23e1175f5509d0a2be5dc0427 Mon Sep 17 00:00:00 2001 From: Chenxi Mao Date: Tue, 21 Dec 2021 14:32:39 +0800 Subject: [PATCH] parted: fix build error on SUSE Euler 2.0 Below build log showed if OBS based on newer OE 22.03 OS. configure.ac:149: 'automake --add-missing' can install 'compile' To fix this error, add "-i" option to autoreconfig to copy missing files. After this change, aarch64 and x86 can build successfully. Change-Id: Ic6f653fabcc6b1e562e1f4db2d2654e17aeddeb8 Signed-off-by: Chenxi Mao (cherry picked from commit 295e6f838fb747f62716d726931b7cbcc1d96224) --- parted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/parted.spec b/parted.spec index 83608e2..e063c78 100644 --- a/parted.spec +++ b/parted.spec @@ -14,7 +14,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 3.4 -Release: 1 +Release: 2 URL: https://www.gnu.org/software/parted/ Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz License: GPLv3+ @@ -47,7 +47,7 @@ Parted library, you need to install this package. %autosetup -n %{name}-%{version} -p1 %build -autoreconf +autoreconf -i autoconf %configure \ --enable-shared \ @@ -111,6 +111,9 @@ fi %{_libdir}/pkgconfig/libparted*.pc %changelog +* Tue Dec 21 2021 Chenxi Mao - 3.4-2 +- fix build error on SUSE Euler 2.0 + * Tue Nov 23 2021 yanglongkang - 3.4-1 - update to 3.4 -- Gitee