Modernize a spec file

epel9
Petr Písař 5 years ago
parent 0eca8316e1
commit d2b0eed4ba

@ -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

Loading…
Cancel
Save