diff --git a/perl-Lingua-EN-Number-IsOrdinal.spec b/perl-Lingua-EN-Number-IsOrdinal.spec index 308a3c8..46a8238 100644 --- a/perl-Lingua-EN-Number-IsOrdinal.spec +++ b/perl-Lingua-EN-Number-IsOrdinal.spec @@ -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