[Piuparts-commits] [SCM] piuparts git repository branch, bikeshed, updated. 0.51-51-g1c35bbd

Andreas Beckmann anbe at debian.org
Mon May 27 11:11:44 UTC 2013


The following commit has been merged in the bikeshed branch:
commit 442e29f9eca3c56fbe4b5a0ab228aa72e2353c9b
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun May 26 03:46:27 2013 +0200

    new bug template: postinst_uses_usr_share_doc
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/bug-templates/postinst_uses_usr_share_doc.mail b/bug-templates/postinst_uses_usr_share_doc.mail
new file mode 100644
index 0000000..292aa73
--- /dev/null
+++ b/bug-templates/postinst_uses_usr_share_doc.mail
@@ -0,0 +1,28 @@
+To: submit at bugs.debian.org
+Subject: postinst uses /usr/share/doc content (Policy 12.3)
+
+Package:
+Version:
+Severity: serious
+User: debian-qa at lists.debian.org
+Usertags: piuparts
+
+Hi,
+
+a test with piuparts revealed that your package uses files from
+/usr/share/doc in its maintainer scripts which is a violation of
+Policy 12.3: "Packages must not require the existence of any files in
+/usr/share/doc/ in order to function."
+http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3
+
+These files must be moved to /usr/share/$PACKAGE and may be symlinked
+from /usr/share/doc/$PACKAGE.
+
+This piuparts test prevents the installation of (most) files into
+/usr/share/doc with 'dpkg --path-exclude=...'.
+
+From the attached log (scroll to the bottom...):
+
+
+
+Cheers,
diff --git a/debian/changelog b/debian/changelog
index 26a52c3..e9382b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ piuparts (0.52) UNRELEASED; urgency=low
   * scripts-no-usr-share-doc/post_setup_disable_usr_share_doc: New custom
     script to instruct dpkg to skip installing most files in /usr/share/doc.
     This should catch maintainer scripts relying on /usr/share/doc content.
+  * New bug template: postinst_uses_usr_share_doc.
   * piuparts-master.deb:
     - Switch Depends: python-rpy to Depends: python-rpy2. (Closes: #705975)
 

-- 
piuparts git repository



More information about the Piuparts-commits mailing list