From 3cec759fa5d3fb41620fd71e05823602b09a9ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 23 Oct 2012 10:38:41 +0200 Subject: [PATCH] Modernize spec file --- perl-Module-ScanDeps.spec | 4 +--- 1 file changed, 1 insertion(+), 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