Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPANRecipe generates broken "provides" in debian control #194

Open
bjo81 opened this issue Jan 25, 2018 · 0 comments
Open

CPANRecipe generates broken "provides" in debian control #194

bjo81 opened this issue Jan 25, 2018 · 0 comments

Comments

@bjo81
Copy link

bjo81 commented Jan 25, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant