!68 Add BuildRequires for automake to fix build issue

From: @kailiu42 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-11-06 08:47:10 +00:00 committed by Gitee
commit 4f3f44f7c7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: xz Name: xz
Version: 5.4.7 Version: 5.4.7
Release: 2 Release: 3
Summary: A free general-purpose data compreession software with LZMA2 algorithm Summary: A free general-purpose data compreession software with LZMA2 algorithm
License: GPL-3.0-only License: GPL-3.0-only
URL: http://tukaani.org/xz URL: http://tukaani.org/xz
@ -14,6 +14,8 @@ Patch0: xz-5213-547-562-libtool.patch
Patch1: 0001-fix-CVE-2024-47611.patch Patch1: 0001-fix-CVE-2024-47611.patch
BuildRequires: perl-interpreter gcc BuildRequires: perl-interpreter gcc
# Patch1 modified Makefile.am so we need this
BuildRequires: automake
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: grep >= 2.20-5 Requires: grep >= 2.20-5
@ -110,6 +112,9 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs %make_build check
%lang(pt_BR) %{_mandir}/pt_BR/man1/* %lang(pt_BR) %{_mandir}/pt_BR/man1/*
%changelog %changelog
* Tue Nov 5 15:46:38 2024 Kai Liu <kai.liu@windriver.com> - 5.4.7-3
- Add BuildRequires for automake as patch1 modified Makefile.am.
* Tue Oct 08 2024 changtao <changtao@kylinos.cn> - 5.4.7-2 * Tue Oct 08 2024 changtao <changtao@kylinos.cn> - 5.4.7-2
-fix CVE-2024-47611 -fix CVE-2024-47611