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 <chenxi.mao@suse.com> (cherry picked from commit 295e6f838fb747f62716d726931b7cbcc1d96224)
This commit is contained in:
parent
501e1ed1c3
commit
a0742a8d56
@ -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 <chenxi.mao@suse.com> - 3.4-2
|
||||
- fix build error on SUSE Euler 2.0
|
||||
|
||||
* Tue Nov 23 2021 yanglongkang <yanglongkang@huawei.com> - 3.4-1
|
||||
- update to 3.4
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user