[packages/cpanminus] move unfat code to build block
glen
glen at pld-linux.org
Mon Sep 28 09:59:27 CEST 2015
commit b3956ea3f4f798758207ba4878eb52e9f97b6ba1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Sep 28 10:59:17 2015 +0300
move unfat code to build block
cpanminus.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/cpanminus.spec b/cpanminus.spec
index 10e4512..37ec030 100644
--- a/cpanminus.spec
+++ b/cpanminus.spec
@@ -101,6 +101,8 @@ to shell scripting. When running, it requires only 10 MB of RAM.
%prep
%setup -q -n App-%{name}-%{version}
+
+%build
# Unbundle fat-packed modules
podselect lib/App/cpanminus.pm > lib/App/cpanminus.pod
@@ -113,7 +115,6 @@ done
# strip remains of fatpack
%{__sed} -i -e '/DO NOT EDIT/,/END OF FATPACK CODE/d' bin/cpanm
-%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
# strip pod, already in manual
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cpanminus.git/commitdiff/b3956ea3f4f798758207ba4878eb52e9f97b6ba1
More information about the pld-cvs-commit
mailing list