From 21203805ddf7e9e3aa0d5031cb71d47d15c76824 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 24 Feb 2020 17:48:28 +0100 Subject: [PATCH] Use make_* macros --- perl-Lingua-Stem-Snowball-Da.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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