From 6f1a756c42aa450b947babe1b0aef62590e9cf62 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 16 Mar 2005 13:44:57 +0000 Subject: [PATCH] Clifford Wolf: Fixed cpan .packlist shared files [2005030409561511966] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@5733 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/import/cpan/cpan.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/import/cpan/cpan.conf b/package/import/cpan/cpan.conf index 6bb66a19d..b3d2926a3 100644 --- a/package/import/cpan/cpan.conf +++ b/package/import/cpan/cpan.conf @@ -84,6 +84,11 @@ cpan_getdesc() { hook_add postinstall 8 "cpan_getdesc $cpanmod" +# don't put .packlist files to package list. they +# create shared files conflicts and we already have our +# own package management system for this cpan packages. +var_append flist''del "|" "usr/lib/perl.*/\.packlist" + if [ -f $confdir/$xpkg.diff ]; then hook_add preconf 4 "patch -p1 < $confdir/$xpkg.diff"; fi if [ -f $confdir/$xpkg.conf ]; then source $confdir/$xpkg.conf; fi