[pkg-GD-devel] Bug#446290: *.orig files from upstream interact badly with dh_clean
Ian Jackson
iwj at ubuntu.com
Thu Oct 11 18:51:38 UTC 2007
Package: libgd-graph-perl
Version: 1.43.08-2.1
Tags: patch
The upstream tarball contains a couple of *.orig files. If you don't
stop it, dh_clean as run by cdbs will delete these. The diff below
fixes this problem.
Thanks,
Ian.
diff -u libgd-graph-perl-1.43.08/debian/changelog libgd-graph-perl-1.43.08/debian/changelog
--- libgd-graph-perl-1.43.08/debian/changelog
+++ libgd-graph-perl-1.43.08/debian/changelog
@@ -1,3 +1,12 @@
+libgd-graph-perl (1.43.08-2.1ubuntu1) gutsy; urgency=low
+
+ * Set DEB_CLEAN_EXCLUDE='*.orig' since the foolish upstream ships
+ some files *.orig, which dh_clean (as called by cdbs) otherwise
+ removes at inopportune moments. (!)
+ Fixes autopkgtest FTBFS, LP: #144495.
+
+ -- Ian Jackson <iwj at ubuntu.com> Thu, 11 Oct 2007 19:45:06 +0100
+
libgd-graph-perl (1.43.08-2.1) unstable; urgency=low
* Non-maintainer upload.
diff -u libgd-graph-perl-1.43.08/debian/rules libgd-graph-perl-1.43.08/debian/rules
--- libgd-graph-perl-1.43.08/debian/rules
+++ libgd-graph-perl-1.43.08/debian/rules
@@ -2,6 +2,8 @@
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2003-2006 Jonas Smedegaard <dr at jones.dk>
+DEB_CLEAN_EXCLUDE='*.orig'
+
# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
include debian/cdbs/1/rules/auto-update.mk
include /usr/share/cdbs/1/rules/debhelper.mk
More information about the pkg-GD-devel
mailing list