[projects/template-specs] move destdir to install section

glen glen at pld-linux.org
Wed Jan 15 17:57:06 CET 2014


commit 2c4a7b7b5c690a54d241e65749961eb2342cb2f0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 15 18:57:04 2014 +0200

    move destdir to install section

 perl.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 65fb27e..9113dae 100644
--- a/perl.spec
+++ b/perl.spec
@@ -64,8 +64,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # Build.PL based packages
 %{__perl} Build.PL \
 	perl=%{__perl} \
-	installdirs=vendor \
-	destdir=$RPM_BUILD_ROOT
+	installdirs=vendor
 ./Build
 
 %{__make}
@@ -84,10 +83,12 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+./Build install \
+	destdir=$RPM_BUILD_ROOT
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/2c4a7b7b5c690a54d241e65749961eb2342cb2f0



More information about the pld-cvs-commit mailing list