[perl-Module-ScanDeps] Modernize spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 3cec759fa5d3fb41620fd71e05823602b09a9ea0
Author: Petr Písař <ppisar@xxxxxxxxxx>
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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux