[perl-Text-ExtractWords: 4/9] Use DESTDIR instead of PERL_INSTALL_ROOT
Mathieu Bridon
bochecha at fedoraproject.org
Wed Feb 6 05:25:30 UTC 2013
commit 37eddc143d39b1022d9292c4c70d4187bd373861
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Tue Feb 5 11:37:34 2013 +0800
Use DESTDIR instead of PERL_INSTALL_ROOT
perl-Text-ExtractWords.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-Text-ExtractWords.spec b/perl-Text-ExtractWords.spec
index 57364bf..3a0eb0f 100644
--- a/perl-Text-ExtractWords.spec
+++ b/perl-Text-ExtractWords.spec
@@ -34,7 +34,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 {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
@@ -55,6 +55,7 @@ make test
%changelog
- Replace usage of the %%{_perl} macro by the plain perl command.
+- Use DESTDIR instead of PERL_INSTALL_ROOT.
* Mon Feb 04 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.08-1
- Initial package for Fedora, with help from cpanspec.
More information about the perl-devel
mailing list