From 578f0ab66082ed6a6dcaf9e337ac6247f3d5c6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 12 Jul 2019 09:47:47 +0200 Subject: [PATCH] Modernize a spec file --- perl-threads-shared.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-threads-shared.spec b/perl-threads-shared.spec index d578e84..b322a84 100644 --- a/perl-threads-shared.spec +++ b/perl-threads-shared.spec @@ -56,11 +56,11 @@ Win32). It is used together with the threads module. %patch1 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/*