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
This commit is contained in:
parent
f7fec29fc3
commit
1dc352f4e4
@ -230,11 +230,13 @@ make V=1 %{?_smp_mflags}
|
|||||||
# Delete libtool crap.
|
# Delete libtool crap.
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -delete
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
|
|
||||||
# Virt-tools data directory. This contains a symlink to rhsrvany.exe
|
# Virt-tools data directory. This contains symlinks to rhsrvany.exe
|
||||||
# which is satisfied by the dependency on mingw32-srvany.
|
# and pnp_wait.exe which are satisfied by the dependency on
|
||||||
|
# mingw32-srvany.
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/virt-tools
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/virt-tools
|
||||||
pushd $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/rhsrvany.exe
|
||||||
|
ln -sf /usr/i686-w64-mingw32/sys-root/mingw/bin/pnp_wait.exe
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Find locale files.
|
# Find locale files.
|
||||||
|
Loading…
Reference in New Issue
Block a user