CPANRecipe generates broken "provides" in debian control
bjo81 opened this issue · 0 comments
bjo81 commented
I tried to use fhe following recipe:
class NetIpMatch < FPM::Cookery::CPANRecipe
name 'Net::IP::Match'
version '1.101700'
provides 'perl-net-ip-match'
fpm_attributes :no_auto_depends? => true,
:cpan_perl_lib_path => "/usr/share/perl5"
end
which created "Provides: perl-net-ip-match, perl(Net::IP::Match)" in the debian control file.
dpkg does not like this "versioning":
dpkg: error processing archive perl-net-ip-match_1.101700_all.deb (--install):
parsing file '/var/lib/dpkg/tmp.ci/control' near line 7 package 'perl-net-ip-match':
'Provides' field, reference to 'perl': error in version: epoch in version is not number