diff --git a/perl-Lingua-Stem-Snowball-Da.spec b/perl-Lingua-Stem-Snowball-Da.spec index 597f68f..1c0d7f2 100644 --- a/perl-Lingua-Stem-Snowball-Da.spec +++ b/perl-Lingua-Stem-Snowball-Da.spec @@ -9,8 +9,8 @@ BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(bytes) @@ -32,11 +32,11 @@ at the Snowball website: http://snowball.tartarus.org/. mv stemmer.pl stemmer-da %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}/* install -D -m 0755 stemmer-da %{buildroot}/%{_bindir}/stemmer-da