[perl-Email-Received: 5/9] Use DESTDIR instead of PERL_INSTALL_ROOT in the install section

Mathieu Bridon bochecha at fedoraproject.org
Mon Jan 28 04:34:42 UTC 2013


commit 7c920f707db8589c51555f6bfd522487411198bb
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Thu Jan 24 13:05:22 2013 +0800

    Use DESTDIR instead of PERL_INSTALL_ROOT in the install section

 perl-Email-Received.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-Email-Received.spec b/perl-Email-Received.spec
index 2d4bf95..7e0c84c 100644
--- a/perl-Email-Received.spec
+++ b/perl-Email-Received.spec
@@ -37,7 +37,7 @@ 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 {} \;
 %{_fixperms} %{buildroot}/*
@@ -56,6 +56,7 @@ make test
 %changelog
 - Add missing build requirements.
 - Replace usage of the %%{__perl} macro by the plain perl command.
+- Use DESTDIR instead of PERL_INSTALL_ROOT in the install section.
 
 * Fri Jan 18 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.00-1
 - Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list