diff --git a/perl-String-Truncate.spec b/perl-String-Truncate.spec index 3564921..2c8c824 100644 --- a/perl-String-Truncate.spec +++ b/perl-String-Truncate.spec @@ -7,8 +7,9 @@ URL: https://metacpan.org/release/String-Truncate Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/String-Truncate-%{version}.tar.gz BuildArch: noarch # Build -BuildRequires: perl-interpreter +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) @@ -29,11 +30,11 @@ finite terminal width. %setup -q -n String-Truncate-%{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