diff --git a/perl-Module-Install-AuthorTests.spec b/perl-Module-Install-AuthorTests.spec index 89d7c89..7ba3514 100644 --- a/perl-Module-Install-AuthorTests.spec +++ b/perl-Module-Install-AuthorTests.spec @@ -31,14 +31,12 @@ should be run only if the module is being built by an author. %setup -q -n Module-Install-AuthorTests-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; -%{_fixperms} $RPM_BUILD_ROOT/* +%{make_install} +%{_fixperms} %{buildroot}/* %check make test @@ -50,6 +48,7 @@ make test %changelog * Thu Dec 08 2022 Michal Josef Špaček - 0.002-31 +- Simplify build and install phase - Update license to SPDX format * Fri Jul 22 2022 Fedora Release Engineering - 0.002-30