[perl-Module-ScanDeps] Modernize spec file
Petr Pisar
ppisar at fedoraproject.org
Tue Oct 23 09:38:53 UTC 2012
commit 3cec759fa5d3fb41620fd71e05823602b09a9ea0
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Oct 23 10:38:41 2012 +0200
Modernize spec file
perl-Module-ScanDeps.spec | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
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
More information about the scm-commits
mailing list