From 1dc352f4e465c85fad41989cfab633f05fc62fac Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Mar 09 2022 11:50:49 +0000 Subject: Add symlink to pnp_wait.exe from the virt tools directory For background on this change see: https://bugzilla.redhat.com/show_bug.cgi?id=1788823 --- diff --git a/virt-v2v.spec b/virt-v2v.spec index 3c31b0c..085f95b 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -230,11 +230,13 @@ make V=1 %{?_smp_mflags} # Delete libtool crap. find $RPM_BUILD_ROOT -name '*.la' -delete -# Virt-tools data directory. This contains a symlink to rhsrvany.exe -# which is satisfied by the dependency on mingw32-srvany. +# Virt-tools data directory. This contains symlinks to rhsrvany.exe +# and pnp_wait.exe which are satisfied by the dependency on +# mingw32-srvany. mkdir -p $RPM_BUILD_ROOT%{_datadir}/virt-tools pushd $RPM_BUILD_ROOT%{_datadir}/virt-tools ln -sf /usr/i686-w64-mingw32/sys-root/mingw/bin/rhsrvany.exe +ln -sf /usr/i686-w64-mingw32/sys-root/mingw/bin/pnp_wait.exe popd # Find locale files.