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 %global _with_perl_B_Debug_enables_optional_test 0
%endif %endif
Name: perl-B-Debug Name: perl-B-Debug
Version: 1.26 Version: 1.26
Release: 424%{?dist} Release: 424%{?dist}
@ -50,11 +49,11 @@ B::Concise and B::Terse for other details.
%setup -q -n B-Debug-%{version} %setup -q -n B-Debug-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check

Loading…
Cancel
Save