From 456dffcf1e2a087dd9ff6d3ecb0ca346ca721eca Mon Sep 17 00:00:00 2001 From: "caomeng5@huawei.com" Date: Tue, 24 Dec 2019 11:29:20 +0800 Subject: [PATCH] fix build requirement about libvirt --- systemtap.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systemtap.spec b/systemtap.spec index a666a96..9d9966c 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -27,7 +27,7 @@ Name: systemtap Version: 4.1 -Release: 1 +Release: 2 Summary: Linux trace and probe tool License: GPLv2+ and Public Domain URL: http://sourceware.org/systemtap/ @@ -52,6 +52,7 @@ BuildRequires: crash-devel zlib-devel %endif %if %{with_virthost} BuildRequires: pkgconfig(libvirt) pkgconfig(libxml-2.0) +Requires: libvirt > 2.0 %endif Requires: nss coreutils zip unzip shadow-utils chkconfig systemd @@ -59,7 +60,6 @@ Requires: shadow-utils openssh-clients python3-pyparsing pyparsing Requires: which elfutils grep nc gcc gcc-c++ make glibc-devel Requires: strace nmap-ncat avahi perl iproute libxml2 findutils Requires: kernel-devel -Requires: libvirt > 2.0 %if %{with_openssl} Requires: openssl %endif @@ -416,5 +416,8 @@ done %files lang -f systemtap.lang %changelog +* Tue Dec 24 2019 caomeng +- fix build requirement about libvirt + * Mon Aug 12 2019 openEuler Buildteam - 4.1.1 - Package init