[perl-Text-Ngram: 4/9] Use DESTDIR instead of PERL_INSTALL_ROOT in the install section
Mathieu Bridon
bochecha at fedoraproject.org
Fri Jan 25 04:53:13 UTC 2013
commit be90c2e4d3e3049b2a79fd38584bff2f5e643ebe
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Thu Jan 24 12:31:23 2013 +0800
Use DESTDIR instead of PERL_INSTALL_ROOT in the install section
perl-Text-Ngram.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl-Text-Ngram.spec b/perl-Text-Ngram.spec
index f558cb7..e47bfb2 100644
--- a/perl-Text-Ngram.spec
+++ b/perl-Text-Ngram.spec
@@ -33,7 +33,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 in the install section.
* Fri Jan 18 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.14-1
- Initial package for Fedora, with help from cpanspec.
More information about the scm-commits
mailing list