Modernize spec file
This commit is contained in:
parent
7d6ded30c4
commit
3cec759fa5
@ -41,7 +41,6 @@ Requires: perl(version)
|
||||
|
||||
|
||||
%{?perl_default_filter}
|
||||
%{?perl_default_subpackage_tests}
|
||||
|
||||
%description
|
||||
This module scans potential modules used by perl programs and returns a
|
||||
@ -56,9 +55,8 @@ Test/More.pm). The values are hash references.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user