[SCM] Packaging of FOO in Debian branch, master, updated. upstream/1.80-13-g61abc04

Jonathan Steinert hachi at saymedia.com
Tue Mar 20 11:33:24 UTC 2012


The following commit has been merged in the master branch:
commit 5c1925a68c6d90125822403a8b7e78524c230c77
Author: Jonathan Steinert <hachi at saymedia.com>
Date:   Mon Mar 19 20:28:55 2012 -0700

    Switch sample conf to install via perlbal.install instead of override_dh_install

diff --git a/debian/changelog b/debian/changelog
index f6d0738..cb41e74 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,6 @@
 perlbal (1.80-1) UNRELEASED; urgency=low
 
   TODO:
-  - d/rules: the override is not necessary, adding something like
-    "debian/perlbal.conf etc/perlbal/" to d/perlbal.install is shorter and
-    more idiomatic
   - d/perlbal.docs - the installed docs/README is rather unhelpful; but
     listing all files separately is also not funny, so just leave it :)
   - d/libperlbal-perl.docs: does README provide anything that's not covered
diff --git a/debian/perlbal.install b/debian/perlbal.install
index ddcae68..cbbee03 100644
--- a/debian/perlbal.install
+++ b/debian/perlbal.install
@@ -1,3 +1,3 @@
-etc/perlbal         /etc
+debian/perlbal.conf /etc/perlbal/
 usr/bin/perlbal     /usr/bin
 usr/share/man/man1  /usr/share/man
diff --git a/debian/rules b/debian/rules
index 5d6b3dd..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,3 @@
 
 %:
 	dh $@
-
-override_dh_install:
-	mkdir -p debian/tmp/etc/perlbal
-	cp debian/perlbal.conf debian/tmp/etc/perlbal/
-	dh_install

-- 
Packaging of FOO in Debian



More information about the Pkg-perl-cvs-commits mailing list