From: Daniel P. Berrangé Date: Tue, 3 Apr 2018 12:41:46 +0000 (+0100) Subject: rpm: add deps on rpcgen/libtirpc-devel X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c018533156edbcb3c47d8056510a314471c5b2aa;p=libvirt.git rpm: add deps on rpcgen/libtirpc-devel Since RPC support moved out of glibc we need to have explicit deps on the new packages providing this functionality Reviewed-by: Andrea Bolognani Signed-off-by: Daniel P. Berrangé --- diff --git a/libvirt.spec.in b/libvirt.spec.in index b55a947ec9..97143c68ae 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -464,6 +464,11 @@ BuildRequires: wireshark-devel >= 2.1.0 BuildRequires: libssh-devel >= 0.7.0 %endif +%if 0%{?fedora} > 27 || 0%{?rhel} > 7 +BuildRequires: rpcgen +BuildRequires: libtirpc-devel +%endif + Provides: bundled(gnulib) %description