diff --git a/perl-Module-Install-AuthorRequires.spec b/perl-Module-Install-AuthorRequires.spec index 86ee75b..025ce76 100644 --- a/perl-Module-Install-AuthorRequires.spec +++ b/perl-Module-Install-AuthorRequires.spec @@ -32,14 +32,12 @@ rm -r inc sed -i -e '/^inc/ d' MANIFEST %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 @@ -51,6 +49,7 @@ make test %changelog * Thu Dec 08 2022 Michal Josef Špaček - 0.02-30 +- Simplify build and install phase - Update license to SPDX format * Fri Jul 22 2022 Fedora Release Engineering - 0.02-29