diff --git a/perl-libxml-perl.spec b/perl-libxml-perl.spec index 08c1b37..c8dd209 100644 --- a/perl-libxml-perl.spec +++ b/perl-libxml-perl.spec @@ -7,8 +7,8 @@ URL: https://metacpan.org/release/libxml-perl Source0: https://cpan.metacpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-%{version}.tar.gz BuildArch: noarch BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(:VERSION) >= 5.5.0 @@ -37,12 +37,12 @@ others. %setup -q -n libxml-perl-%{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} -chmod -R u+w %{buildroot}/* +%{make_install} +%{_fixperms} %{buildroot}/* %check make test