[libvirt] [libvirt-snmp][PATCH 1/2] spec: Require git and gcc for the build

Michal Privoznik mprivozn at redhat.com
Wed Sep 5 08:25:11 UTC 2018


In previous patch 46cae089f12 I've switched the spec file to
apply patches with git. However, I forgot to add that as a build
dependency so on systems with minimal install this may fail if
they don't have git installed.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 libvirt-snmp.spec.in | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in
index 21a9885..b51777c 100644
--- a/libvirt-snmp.spec.in
+++ b/libvirt-snmp.spec.in
@@ -9,7 +9,13 @@ URL:		http://libvirt.org
 Source0:	http://www.libvirt.org/sources/snmp/libvirt-snmp-%{version}.tar.gz
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-BuildRequires: net-snmp-perl net-snmp net-snmp-utils net-snmp-devel libvirt-devel
+BuildRequires: net-snmp-perl
+BuildRequires: net-snmp
+BuildRequires: net-snmp-utils
+BuildRequires: net-snmp-devel
+BuildRequires: libvirt-devel
+BuildRequires: git
+BuildRequires: gcc
 
 %description
 Provides a way to control libvirt through SNMP protocol.
-- 
2.16.4




More information about the libvir-list mailing list