summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Lamberov <dogsleg@debian.org>2018-03-03 23:41:49 +0500
committerSean Whitton <spwhitton@spwhitton.name>2018-03-03 13:32:11 -0700
commitbab47c42855b00a1e651e73c11d1cde3a7571251 (patch)
tree31bc92e3714f2f3780590bf70fd8a68a4b325f91
parentb054933c87e1e11ce76e9e3788219b139c61e4dc (diff)
Substitute debhelper version in Build-Depends from configuration
-rw-r--r--lib/DhMakeELPA/Command/make.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DhMakeELPA/Command/make.pm b/lib/DhMakeELPA/Command/make.pm
index 0111c10..1ddb143 100644
--- a/lib/DhMakeELPA/Command/make.pm
+++ b/lib/DhMakeELPA/Command/make.pm
@@ -51,7 +51,7 @@ sub create_control {
$src->Section("lisp");
$src->Priority("optional");
$src->Standards_Version( $self->debstdversion );
- $src->Build_Depends->add( "debhelper (>= 10)" );
+ $src->Build_Depends->add( sprintf "debhelper (>= %s)", $self->cfg->dh );
$src->Build_Depends->add( "dh-elpa" );
$src->Build_Depends->add( "elpa-buttercup" )
if ( $self->detect_buttercup_tests() );