diff --git a/perl-App-Nopaste.spec b/perl-App-Nopaste.spec index d0a642d..4cfd090 100644 --- a/perl-App-Nopaste.spec +++ b/perl-App-Nopaste.spec @@ -101,19 +101,18 @@ one. find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL --installdirs=vendor +./Build build --flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes +%doc Changes CONTRIBUTING LICENSE README README.md %changelog