From ca7e8037245bd9a6bc11218abc17f83632ce5f90 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Mon, 15 Jul 2013 15:59:26 -0400
Subject: [PATCH] Drop dependency on libmodule-install-perl (Closes: #716929)

---
 Makefile.PL                        | 21 ---------------------
 debian/changelog                   |  6 ++++++
 debian/control                     |  2 +-
 debian/dh-systemd.install          | 10 ++++------
 debian/init-system-helpers.install |  6 ++----
 5 files changed, 13 insertions(+), 32 deletions(-)
 delete mode 100644 Makefile.PL

diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644
index 749aed9..0000000
--- a/Makefile.PL
+++ /dev/null
@@ -1,21 +0,0 @@
-use inc::Module::Install;
-
-name 'init-system-helpers';
-version '1.2';
-
-install_script 'deb-systemd-helper';
-install_script 'deb-systemd-invoke';
-install_script 'dh_systemd_enable';
-install_script 'dh_systemd_start';
-
-postamble <<'END_OF_MAKEFILE';
-install:: extra_install
-pure_install:: extra_install
-install_vendor:: extra_install
-
-extra_install:
-	install -d $(DESTDIR)/usr/share/debhelper/autoscripts
-	install -m 640 autoscripts/* $(DESTDIR)/usr/share/debhelper/autoscripts
-END_OF_MAKEFILE
-
-WriteAll;
diff --git a/debian/changelog b/debian/changelog
index bab9997..fa5ceae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+init-system-helpers (1.6) UNRELEASED; urgency=low
+
+  * Drop dependency on libmodule-install-perl (Closes: #716929)
+
+ -- Jeremy Bicha <jbicha@ubuntu.com>  Mon, 15 Jul 2013 15:54:54 -0400
+
 init-system-helpers (1.5) unstable; urgency=low
 
   * deb-systemd-helper: clean up /var/lib/systemd/deb-systemd-helper-enabled
diff --git a/debian/control b/debian/control
index 85c1637..c9634a1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: pkg-systemd-maintainers <pkg-systemd-maintainers@lists.alioth.debian
 Uploaders: Michael Stapelberg <stapelberg@debian.org>,
  Tollef Fog Heen <tfheen@debian.org>,
  Michael Biebl <biebl@debian.org>
-Build-Depends: debhelper (>= 8.0.0), libmodule-install-perl
+Build-Depends: debhelper (>= 8.0.0)
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/collab-maint/init-system-helpers.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/init-system-helpers.git;a=summary
diff --git a/debian/dh-systemd.install b/debian/dh-systemd.install
index da265a0..35d295a 100644
--- a/debian/dh-systemd.install
+++ b/debian/dh-systemd.install
@@ -1,6 +1,4 @@
-usr/bin/dh_systemd_start
-usr/bin/dh_systemd_enable
-usr/share/perl5/Debian/Debhelper/Sequence/systemd.pm
-usr/share/debhelper/autoscripts
-usr/share/man/man1/dh_systemd_start.1p
-usr/share/man/man1/dh_systemd_enable.1p
+script/dh_systemd_start usr/bin
+script/dh_systemd_enable usr/bin
+autoscripts usr/share/debhelper
+lib/Debian/Debhelper/Sequence/systemd.pm usr/share/perl5/Debian/Debhelper/Sequence/
diff --git a/debian/init-system-helpers.install b/debian/init-system-helpers.install
index 66dc4f6..3c43e71 100644
--- a/debian/init-system-helpers.install
+++ b/debian/init-system-helpers.install
@@ -1,4 +1,2 @@
-usr/bin/deb-systemd-helper
-usr/bin/deb-systemd-invoke
-usr/share/man/man1/deb-systemd-helper.1p
-usr/share/man/man1/deb-systemd-invoke.1p
+script/deb-systemd-helper usr/bin
+script/deb-systemd-invoke usr/bin
-- 
1.8.3.2

