cpan-base: add perl version to PR
authorRoman I Khimov <khimov@altell.ru>
Tue, 23 Mar 2010 21:33:57 +0000 (00:33 +0300)
committerRoman I Khimov <khimov@altell.ru>
Tue, 23 Mar 2010 21:45:23 +0000 (00:45 +0300)
commite7c6b93906b8909e659d7e680a1457472bc99bda
treeb0639f37834b0cca70dea46734d8ba22a9cfbc39
parent771026d7d51ec74642804f29866fef6c0a4c67b9
cpan-base: add perl version to PR

Makes perl modules rebuild on perl version change, since binary compatibility
could be broken with that (although perl itself tries to maintain it  within
patchlevel range, like 5.8.7 -> 5.8.8).

This is conditional on PACKAGE_ARCH, since there is nothing to rebuild for
pure perl modules (and those should use 'PACKAGE_ARCH = "all"') even if they
break with perl version change.

This also should ease transition to perl 5.10.1.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
classes/cpan-base.bbclass