From 8ad00050b04cabade904b4d0ea5238c8d7852f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= Date: Sun, 11 Dec 2022 13:58:54 +0100 Subject: [PATCH] Simplify build and install phases --- perl-Module-Install-ManifestSkip.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/perl-Module-Install-ManifestSkip.spec b/perl-Module-Install-ManifestSkip.spec index cf694d6..9988646 100644 --- a/perl-Module-Install-ManifestSkip.spec +++ b/perl-Module-Install-ManifestSkip.spec @@ -33,13 +33,12 @@ want in their MANIFEST files. The SKIP file is generated each time that you %setup -q -n Module-Install-ManifestSkip-%{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 DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT/* +%{make_install} +%{_fixperms} %{buildroot}/* %check make test @@ -52,6 +51,7 @@ make test %changelog * Sun Dec 11 2022 Michal Josef Špaček - 0.24-25 +- Simplify build and install phases - Update license to SPDX format - Use %license macro