as the Module::AutoInstall is most likely included and used from bundled tarball of CPAN package, we should use:
%build %{__perl} Makefile.PL \ + --skipdeps \ INSTALLDIRS=vendor %{__make}
as the Module::AutoInstall is most likely included and used from bundled tarball of CPAN package, we should use:
%build S=vendor
%{__perl} Makefile.PL \
+ --skipdeps \
INSTALLDIR
%{__make}