[perl-Lingua-Identify: 4/11] Use DESTDIR instead of PERL_INSTALL_ROOT in the install section

Mathieu Bridon bochecha at fedoraproject.org
Fri Feb 8 06:59:25 UTC 2013


commit 2047a900ecc23992e6751b6d108334b59461291a
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Thu Jan 24 13:18:11 2013 +0800

    Use DESTDIR instead of PERL_INSTALL_ROOT in the install section

 perl-Lingua-Identify.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-Lingua-Identify.spec b/perl-Lingua-Identify.spec
index 7810d1e..2b7c88f 100644
--- a/perl-Lingua-Identify.spec
+++ b/perl-Lingua-Identify.spec
@@ -42,7 +42,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 {} \;
 
@@ -67,6 +67,7 @@ make test
 
 %changelog
 - 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> - 0.51-1
 - Initial package for Fedora, with help from cpanspec.



More information about the perl-devel mailing list