[libvirt] [PATCH] wireshark: Install into DESTDIR

Cole Robinson crobinso at redhat.com
Tue Jan 12 22:08:28 UTC 2016


On 01/12/2016 12:25 PM, Michal Privoznik wrote:
> Like everything we install, it should be prefixed with DESTDIR.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  m4/virt-wireshark.m4 | 8 ++++----
>  tools/Makefile.am    | 1 +
>  2 files changed, 5 insertions(+), 4 deletions(-)
> 

This breaks Fedora RPM builds for srcdir for me:


+ mv
'/home/crobinso/src/libvirt/libvirt-1.3.1-1.fc23.x86_64/usr/lib64/wireshark/plugins/*/libvirt.so'
/home/crobinso/src/libvirt/libvirt-1.3.1-1.fc23.x86_64/usr/lib64/wireshark/plugins/libvirt.so
mv: cannot stat
'/home/crobinso/src/libvirt/libvirt-1.3.1-1.fc23.x86_64/usr/lib64/wireshark/plugins/*/libvirt.so':
No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.MXSjxe (%install)

The files end up doubly nested in
/home/crobinso/src/libvirt/libvirt-1.3.1-1.fc23.x86_64/libvirt-1.3.1-1.fc23.x86_64/home/crobinso/src/libvirt/libvirt-1.3.1-1.fc23.x86_64/usr/lib64/wireshark/plugins/*

- Cole




More information about the libvir-list mailing list