commit 01f000c48a750e206c61fa11ec83cc5ebccae335
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Jan 15 18:47:46 2014 +0200

    add Build.PL sample

 perl.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/perl.spec b/perl.spec
index 8afa261..b7804d4 100644
--- a/perl.spec
+++ b/perl.spec
@@ -61,6 +61,12 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 
+# Build.PL based packages
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+./Build
+
 %{__make}
 # if module isn't noarch, use:
 # %{__make} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/4db70b3117b685e394776624428725a78bcd2bdc

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to