[SCM] Debian packaging of cpanminus branch, master, updated. debian/1.4008-2-22-gafb680f

Alessandro Ghedini al3xbio at gmail.com
Wed Oct 19 08:39:42 UTC 2011


The following commit has been merged in the master branch:
commit 3974668a298c7f290c3274500663305d1d170383
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Tue Oct 18 21:42:23 2011 +0200

    Remove fatpacked modules from bin/cpanm at build time (gregoa++)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..fa46cca 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,18 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+	for FAT in \
+		APP_CPANMINUS CPAN_DISTNAMEINFO CPAN_META CPAN_META_CONVERTER CPAN_META_FEATURE \
+		CPAN_META_HISTORY CPAN_META_PREREQS CPAN_META_SPEC CPAN_META_VALIDATOR CPAN_META_YAML \
+		HTTP_TINY JSON_PP JSON_PP_BOOLEAN MODULE_METADATA PARSE_CPAN_META TRY_TINY \
+		LIB_CORE_ONLY LOCAL_LIB PARENT VERSION VERSION_REQUIREMENTS VERSION_VPP ; \
+	do \
+		sed -i -e "/<<'$$FAT'/,/^$$FAT/ d" $(TMP)/usr/bin/cpanm ; \
+	done
diff --git a/debian/rules.alternative b/debian/rules.alternative
deleted file mode 100755
index fa46cca..0000000
--- a/debian/rules.alternative
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/make -f
-
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-%:
-	dh $@
-
-override_dh_auto_install:
-	dh_auto_install
-	for FAT in \
-		APP_CPANMINUS CPAN_DISTNAMEINFO CPAN_META CPAN_META_CONVERTER CPAN_META_FEATURE \
-		CPAN_META_HISTORY CPAN_META_PREREQS CPAN_META_SPEC CPAN_META_VALIDATOR CPAN_META_YAML \
-		HTTP_TINY JSON_PP JSON_PP_BOOLEAN MODULE_METADATA PARSE_CPAN_META TRY_TINY \
-		LIB_CORE_ONLY LOCAL_LIB PARENT VERSION VERSION_REQUIREMENTS VERSION_VPP ; \
-	do \
-		sed -i -e "/<<'$$FAT'/,/^$$FAT/ d" $(TMP)/usr/bin/cpanm ; \
-	done

-- 
Debian packaging of cpanminus



More information about the Pkg-perl-cvs-commits mailing list