Use make_* macros

f38
Jitka Plesnikova 5 years ago
parent 148b49b026
commit 2e713d52c5

@ -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

Loading…
Cancel
Save