summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2016-07-02 10:35:24 +0200
committerDavid Bremner <bremner@debian.org>2016-07-02 10:35:24 +0200
commitdc2af2a758c7d467a442bc68be60307e91bf1455 (patch)
tree3ffa296b763e20063b4733803e8a4de0b09a68be
parent1bb959e968352724d872b6e5aad51328e5db711e (diff)
check version of Debian::Control instead of DhMakePerl
With the (in progress) split of dh-make-perl, the module DhMakePerl may not be installed.
-rwxr-xr-xelpa.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elpa.pm b/elpa.pm
index 121548b..888f555 100755
--- a/elpa.pm
+++ b/elpa.pm
@@ -10,7 +10,7 @@ use Module::Metadata;
insert_after("dh_install", "dh_elpa");
# check dh_make_perl version is new enough for dh_elpa_test
-my $info = Module::Metadata->new_from_module("DhMakePerl");
+my $info = Module::Metadata->new_from_module("Debian::Control");
my $version = Dpkg::Version->new($info->version());
if ( !defined $ENV{ 'DH_ELPA_TEST_DISABLE' }