Use make_* macros

epel9
Jitka Plesnikova 5 years ago
parent 5caf4479ad
commit 2251335920

@ -7,8 +7,9 @@ URL: https://metacpan.org/release/List-Compare
Source0: https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/List-Compare-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-interpreter
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(Carp)
@ -30,12 +31,12 @@ Advanced functionality to compare members of two or more lists.
%setup -q -n List-Compare-%{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}
chmod -R u+w %{buildroot}/*
%{make_install}
%{_fixperms} %{buildroot}/*
%check
make test

Loading…
Cancel
Save