[Pkg-gmagick-im-team] Bug#846261: imagemagick: also clean up quantum control file fragments during update_pkg

Nishanth Aravamudan nish.aravamudan at canonical.com
Tue Nov 29 16:58:20 UTC 2016


Package: imagemagick
Version: 8:6.9.6.6+dfsg-1
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu zesty ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Properly clean-up quantum control file fragments from `debian/rules
    update_pkg`

I noticed during a build here that running `debian/rules update_pkg`
left stray debian/control.d/quantum.{q16,q16hdri} files around.

Thanks for considering the patch.

*** /tmp/tmpORIMwv/imagemagick_8:6.9.6.6+dfsg-1ubuntu2.debdiff
diff -Nru imagemagick-6.9.6.6+dfsg/debian/rules imagemagick-6.9.6.6+dfsg/debian/rules
--- imagemagick-6.9.6.6+dfsg/debian/rules	2016-11-28 12:32:14.000000000 -0800
+++ imagemagick-6.9.6.6+dfsg/debian/rules	2016-11-29 08:43:07.000000000 -0800
@@ -235,6 +235,7 @@
 	UCQUANTUMDEPTH=$(call UC,$*) \
 	$(DH_EXEC_SUBST) $(CURDIR)/debian/tests.d/perlmagick-IMVERSION.QUANTUMDEPTH.in > $(CURDIR)/debian/tests/perlmagick-$(IMVERSION).$*
 	chmod +x $(CURDIR)/debian/tests/perlmagick-$(IMVERSION).$*
+	rm -f $(CURDIR)/debian/control.d/quantum.$*
 
 update_pkg: $(foreach Q,$(QUANTUMDEPTH),update_pkg.$Q)
 	$(DH_EXEC_SUBST) $(CURDIR)/debian/control.d/noquantum.in >> $(CURDIR)/debian/control.d/noquantum


-- System Information:
Debian Release: stretch/sid
  APT prefers yakkety-updates
  APT policy: (500, 'yakkety-updates'), (500, 'yakkety-security'), (500, 'yakkety'), (400, 'yakkety-proposed'), (100, 'yakkety-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-27-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd



More information about the Pkg-gmagick-im-team mailing list