[packages/cpanminus] strip pod from bin

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


commit 540fa720b0367bb42f3ecb5321eb504144bc3fdd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 3 18:53:32 2013 +0200

    strip pod from bin

 cpanminus.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/cpanminus.spec b/cpanminus.spec
index 2b0685c..09c315c 100644
--- a/cpanminus.spec
+++ b/cpanminus.spec
@@ -110,6 +110,10 @@ done
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
+
+# strip pod, already in manual
+%{__sed} -i -e '/__END__/,$d' bin/cpanm
+
 %{__make}
 %{?with_tests:%{__make} test}
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list