Use make_* macros

f38
Jitka Plesnikova 5 years ago
parent bff808a495
commit 1984b09cf2

@ -7,8 +7,9 @@ URL: https://metacpan.org/release/Method-Signatures-Simple
Source0: https://cpan.metacpan.org/authors/id/R/RH/RHESA/Method-Signatures-Simple-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-interpreter
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@ -31,11 +32,11 @@ looking for a small amount of syntactic sugar, this might just be enough.
%setup -q -n Method-Signatures-Simple-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} %{buildroot}/*
%check

Loading…
Cancel
Save