From 7fb222e9d6d58e45709bcf7a5eccec7716db2386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= Date: Thu, 1 Dec 2022 23:23:50 +0100 Subject: [PATCH] Simplify build and install phases --- perl-Module-Pluggable.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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