From: Cole Robinson Date: Tue, 3 Dec 2019 15:50:05 +0000 (-0500) Subject: spec: mingw: add deps for genprotocol.pl usage X-Git-Tag: v6.0.0-rc1~523 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0d728c7c00fd3a62731e50c7bc646df323c0622;p=thirdparty%2Flibvirt.git spec: mingw: add deps for genprotocol.pl usage As of 0985a9597bb03 we no longer distribute generated files. mingw needs to call genprotocol.pl itself, which means it needs rpcgen and cpp installed. Signed-off-by: Cole Robinson --- diff --git a/mingw-libvirt.spec.in b/mingw-libvirt.spec.in index c29f3eeed2..fd9b729591 100644 --- a/mingw-libvirt.spec.in +++ b/mingw-libvirt.spec.in @@ -89,6 +89,10 @@ BuildRequires: mingw64-libssh2 BuildRequires: mingw32-curl BuildRequires: mingw64-curl %endif +BuildRequires: cpp +%if 0%{?fedora} || 0%{?rhel} > 7 +BuildRequires: rpcgen +%endif BuildArch: noarch