collect_pkg_files:
 * support parameters of two forms: pkgname and pkgname-pkgver
 * refs #1505, refs #2145


git-svn-id: file:///var/svn/freetz/trunk@11899 149334a1-2f27-0410-a3b9-fc62619ac1e6