diff --git a/perl-Module-Pluggable.spec b/perl-Module-Pluggable.spec index 0727eb2..fc2be0f 100644 --- a/perl-Module-Pluggable.spec +++ b/perl-Module-Pluggable.spec @@ -68,12 +68,11 @@ into class names. Optionally it instantiates those classes for you. find -type f -exec chmod -x {} + %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 DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +%{make_install} %{_fixperms} %{buildroot}/* %check @@ -86,6 +85,7 @@ make test %changelog * Thu Dec 01 2022 Michal Josef Špaček - 2:5.2-22 +- Simplify build and install phases - Update license to SPDX format * Fri Jul 22 2022 Fedora Release Engineering - 2:5.2-21