-# This is overridden when we call rpmbuild in the Makefile so you
-# don't need to set it here (unless you are not using the Makefile).
-#global vddkdir /some/path
+# You must set this to the directory where you downloaded VDDK.
+# NB. DO NOT PUT A TRAILING ‘/’ or you will get the error
+# ‘canonicalization unexpectedly shrank by one character’ on RHEL 7.
+%global vddkdir /home/rjones/tmp/vddk/vmware-vix-disklib-distrib
# The minimum version of nbdkit that we can build/install with.
%global minimum_version 1.1.2
Source0: nbdkit-%{version}.tar.gz
BuildRequires: nbdkit-devel >= %{minimum_version}
+BuildRequires: perl-podlators
+BuildRequires: gnutls-devel
Requires: nbdkit >= %{minimum_version}