[packages/perl-Module-Runtime-Conflicts] try to fix install to buildroot

glen glen at pld-linux.org
Sat Feb 28 18:44:44 CET 2015


commit 1af1bf06fd2cc8d5979daf12c579da1d46e09bc4
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Feb 28 19:44:40 2015 +0200

    try to fix install to buildroot

 perl-Module-Runtime-Conflicts.spec | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/perl-Module-Runtime-Conflicts.spec b/perl-Module-Runtime-Conflicts.spec
index d0d910b..7ed7755 100644
--- a/perl-Module-Runtime-Conflicts.spec
+++ b/perl-Module-Runtime-Conflicts.spec
@@ -36,16 +36,15 @@ Moose::Conflicts and moose-outdated.
 
 %build
 %{__perl} Build.PL \
-	destdir=$RPM_BUILD_ROOT \
+	perl=%{__perl} \
 	installdirs=vendor
 ./Build
-
 %{?with_tests:./Build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-./Build install
+./Build install \
+	destdir=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Module-Runtime-Conflicts.git/commitdiff/1af1bf06fd2cc8d5979daf12c579da1d46e09bc4



More information about the pld-cvs-commit mailing list