Use make_* macros

f38
Jitka Plesnikova 5 years ago
parent ce3d4a29ce
commit dd7d2e0f44

@ -8,8 +8,8 @@ Source0: https://cpan.metacpan.org/authors/id/R/RK/RKITOVER/Lingua-EN-Num
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@ -34,11 +34,11 @@ cardinal or ordinal number.
%setup -q -n Lingua-EN-Number-IsOrdinal-%{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