From d2b0eed4bacc01ceb1eba63d75bd47697da2af64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 10 Mar 2020 14:18:49 +0100 Subject: [PATCH] Modernize a spec file --- perl-B-Debug.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/perl-B-Debug.spec b/perl-B-Debug.spec index 8c9137a..8178f49 100644 --- a/perl-B-Debug.spec +++ b/perl-B-Debug.spec @@ -10,7 +10,6 @@ %global _with_perl_B_Debug_enables_optional_test 0 %endif - Name: perl-B-Debug Version: 1.26 Release: 424%{?dist} @@ -50,11 +49,11 @@ B::Concise and B::Terse for other details. %setup -q -n B-Debug-%{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=$RPM_BUILD_ROOT +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check