]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: mingw: add deps for genprotocol.pl usage
authorCole Robinson <crobinso@redhat.com>
Tue, 3 Dec 2019 15:50:05 +0000 (10:50 -0500)
committerCole Robinson <crobinso@redhat.com>
Tue, 3 Dec 2019 18:53:44 +0000 (13:53 -0500)
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 <crobinso@redhat.com>
mingw-libvirt.spec.in

index c29f3eeed2b670f6f4a5690f2075e0ac254f6d1d..fd9b7295914091eed421b418fd0e7f9462a763ef 100644 (file)
@@ -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