diff --git a/perl-Module-ScanDeps.spec b/perl-Module-ScanDeps.spec index e5a7537..4f172fe 100644 --- a/perl-Module-ScanDeps.spec +++ b/perl-Module-ScanDeps.spec @@ -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