diff --git a/virt-v2v.spec b/virt-v2v.spec index e1b0b49..feefb85 100644 --- a/virt-v2v.spec +++ b/virt-v2v.spec @@ -95,7 +95,7 @@ cp v2v/virt-v2v.conf $RPM_BUILD_ROOT%{_sysconfdir}/ # Not clear why this is being created as there is nothing arch-specific in # virt-v2v. It isn't packaged, though, so we need to delete it. -rm -f $RPM_BUILD_ROOT/%{perl_archlib}/auto/Sys/VirtV2V/.packlist +find $RPM_BUILD_ROOT/%{perl_archlib} -name .packlist -type f | xargs rm %check