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

Loading…
Cancel
Save