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 Source0: https://cpan.metacpan.org/authors/id/J/JO/JOEY/Lingua-EN-Words2Nums-%{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(Exporter) BuildRequires: perl(Exporter)
@ -27,11 +28,11 @@ and cardinal numbers, negative numbers, and very large numbers.
chmod -c a-x testnum chmod -c a-x testnum
%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}
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check

Loading…
Cancel
Save