[perl-Devel-CheckLib] Modernize spec file

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

 



commit 83ff69351e16eafc080de21962350485739522d1
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Thu Oct 18 14:57:57 2012 +0200

    Modernize spec file

 perl-Devel-CheckLib.spec |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/perl-Devel-CheckLib.spec b/perl-Devel-CheckLib.spec
index acfcc12..0b5a23c 100644
--- a/perl-Devel-CheckLib.spec
+++ b/perl-Devel-CheckLib.spec
@@ -38,21 +38,13 @@ and its headers are available.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %doc CHANGES README
 %{_bindir}/*
--
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