From 51b2b07365fdbea4c27bab0ed1bbd87538dbd37d Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Tue, 13 Dec 2022 10:11:28 +0800 Subject: [PATCH] add some packages to fix libguestfs-test-tool error --- add-some-package-to-fix-run-error.patch | 20 ++++++++++++++++++++ libguestfs.spec | 6 +++++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 add-some-package-to-fix-run-error.patch diff --git a/add-some-package-to-fix-run-error.patch b/add-some-package-to-fix-run-error.patch new file mode 100644 index 0000000..712f95e --- /dev/null +++ b/add-some-package-to-fix-run-error.patch @@ -0,0 +1,20 @@ +diff --git a/appliance/packagelist.in b/appliance/packagelist.in +index 8d2e9d4..6df9de9 100644 +--- a/appliance/packagelist.in ++++ b/appliance/packagelist.in +@@ -276,6 +276,15 @@ util-linux + util-linux-ng + xfsprogs + zerofree ++jansson ++augeas ++hivex ++libcap ++libldm ++libtirpc ++pcre ++libselinux ++yara + + dnl tools needed by virt-dib + ifelse(REDHAT,1, diff --git a/libguestfs.spec b/libguestfs.spec index 1d63a53..83d6384 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -4,7 +4,7 @@ Name: libguestfs Version: 1.40.2 -Release: 17 +Release: 18 Epoch: 1 Summary: A set of tools for accessing and modifying virtual machine (VM) disk images License: LGPLv2+ @@ -19,6 +19,7 @@ Patch0003: fix-not-striped.patch Patch0004: Fix-defaut-function-compare-error.patch Patch0005: Fix-verbose-error.patch Patch0006: 0001-tests-Use-explicit-backing-format-for-all-backing-di.patch +Patch0007: add-some-package-to-fix-run-error.patch BuildRequires: gcc-c++, rpcgen, libtirpc-devel, supermin-devel >= 5.1.18, hivex-devel >= 1.2.7-7, ocaml-hivex-devel, perl(Pod::Simple), perl(Pod::Man) BuildRequires: /usr/bin/pod2text, po4a, augeas-devel >= 1.7.0, readline-devel, genisoimage, libxml2-devel, createrepo, glibc-static, libselinux-utils @@ -371,6 +372,9 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/ %exclude %{_mandir}/man1/virt-tar.1* %changelog +* Tue Dec 13 2022 wulei - 1:1.40.2-18 +- add some packages to fix libguestfs-test-tool error + * Thu Aug 18 2022 liyanan - 1:1.40.2-17 - Fix build error of libguestfs - Remove unnecessary dependency of kernel package -- Gitee