[SCM] Debian packaging of cpanminus branch, master, updated. debian/1.4008-2-15-g60f770f
gregor herrmann
gregoa at debian.org
Tue Oct 18 17:56:28 UTC 2011
The following commit has been merged in the master branch:
commit 60f770ff9d037014129ee51c687fc286cae1e33c
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Oct 18 19:54:54 2011 +0200
add debian/rules.alternative to show a possible alternative for handling the
fat-packaged stuff
diff --git a/debian/changelog b/debian/changelog
index 2517f47..f41fb94 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ cpanminus (1.5002-1) UNRELEASED; urgency=low
ANSWER:
I didn't make it to see the paste before it got deleted (I had some net
problems lately), could you please re-upload it?
+
+ --> added as d/rules.alternatives (paste.d.n was not really a good idea ...)
* New upstream release
* Remove bundled modules from cpanm script
diff --git a/debian/rules.alternative b/debian/rules.alternative
new file mode 100755
index 0000000..fa46cca
--- /dev/null
+++ b/debian/rules.alternative
@@ -0,0 +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
--
Debian packaging of cpanminus
More information about the Pkg-perl-cvs-commits
mailing list