[packages/cpanminus] strip more fatpack remains

glen glen at pld-linux.org
Sun Nov 3 17:55:31 CET 2013


commit b3a24f7f9f25aeca266aa44d6c457779d1b54b12
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 3 18:55:15 2013 +0200

    strip more fatpack remains

 cpanminus.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/cpanminus.spec b/cpanminus.spec
index 09c315c..0786629 100644
--- a/cpanminus.spec
+++ b/cpanminus.spec
@@ -108,6 +108,9 @@ for F in bin/cpanm lib/App/cpanminus/fatscript.pm; do
 	mv "${F}.stripped" "$F"
 done
 
+# strip remains of fatpack
+%{__sed} -i -e '/DO NOT EDIT/,/END OF FATPACK CODE/d' bin/cpanm
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cpanminus.git/commitdiff/b3a24f7f9f25aeca266aa44d6c457779d1b54b12



More information about the pld-cvs-commit mailing list