diff --git a/perl-Lingua-EN-Words2Nums.spec b/perl-Lingua-EN-Words2Nums.spec index e9d7b09..0b60e93 100644 --- a/perl-Lingua-EN-Words2Nums.spec +++ b/perl-Lingua-EN-Words2Nums.spec @@ -7,8 +7,9 @@ URL: https://metacpan.org/release/Lingua-EN-Words2Nums Source0: https://cpan.metacpan.org/authors/id/J/JO/JOEY/Lingua-EN-Words2Nums-%{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(Exporter) @@ -27,11 +28,11 @@ and cardinal numbers, negative numbers, and very large numbers. chmod -c a-x testnum %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