[Pkg-xen-changes] [xen] 01/04: Include a reportbug control file to redirect bugs to src:xen

Ian James Campbell ijc at moszumanska.debian.org
Fri Aug 21 15:05:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

ijc pushed a commit to branch feature/reportbug
in repository xen.

commit 084b7cf56dd2ccfbf1c04796689222dac9d58ac6
Author: Ian Campbell <ijc at debian.org>
Date:   Fri Aug 21 14:54:13 2015 +0100

    Include a reportbug control file to redirect bugs to src:xen
---
 debian/changelog                            | 8 ++++++++
 debian/rules.real                           | 6 +++++-
 debian/templates/libxen.bug/control         | 1 +
 debian/templates/xen-hypervisor.bug/control | 1 +
 debian/templates/xen-utils.bug/control      | 1 +
 5 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 70be498..59c261d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+xen (4.5.1~rc1-2) UNRELEASED; urgency=medium
+
+  [ Ian Campbell ]
+  * Include a reportbug control file to redirect bugs to src:xen for
+    packages which contain the Xen version in the name.
+
+ -- Ian Campbell <ijc at debian.org>  Fri, 21 Aug 2015 14:53:26 +0100
+
 xen (4.5.1~rc1-1) experimental; urgency=medium
 
   [ Ian Campbell ]
diff --git a/debian/rules.real b/debian/rules.real
index 7ff231c..bab109a 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -152,6 +152,7 @@ install-hypervisor_$(ARCH)_$(FLAVOUR): $(STAMPS_DIR)/build-hypervisor_$(ARCH)_$(
 	dh_testroot
 	dh_prep
 	dh_installdirs boot
+	dh_install debian/templates/xen-hypervisor.bug/* usr/share/bug/$(PACKAGE_NAME)
 	cp $(DIR)/xen/xen$(IMAGE_SUFFIX) debian/$(PACKAGE_NAME)/boot/xen-$(VERSION)-$(FLAVOUR)$(IMAGE_SUFFIX)
 ifeq ($(ARCH),amd64)
 	cp $(DIR)/xen/xen.efi debian/$(PACKAGE_NAME)/boot/xen-$(VERSION)-$(FLAVOUR).efi
@@ -159,12 +160,14 @@ endif
 	+$(MAKE_SELF) install-base
 
 install-libxen_$(ARCH): DIR = $(BUILD_DIR)/install-utils_$(ARCH)
-install-libxen_$(ARCH): DH_OPTIONS = -plibxen-$(VERSION)
+install-libxen_$(ARCH): PACKAGE_NAME = libxen-$(VERSION)
+install-libxen_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME)
 install-libxen_$(ARCH): $(STAMPS_DIR)/install-utils_$(ARCH) install-libxenstore_$(ARCH)
 	dh_testdir
 	dh_testroot
 	dh_prep
 	dh_install --sourcedir=$(DIR) usr/lib/*/lib*-$(VERSION).so
+	dh_install debian/templates/libxen.bug/* usr/share/bug/$(PACKAGE_NAME)
 	dh_strip
 	dh_makeshlibs -V
 	dh_shlibdeps
@@ -207,6 +210,7 @@ install-utils_$(ARCH): $(STAMPS_DIR)/install-utils_$(ARCH) install-libxen_$(ARCH
 	install -D -m644 debian/xen-utils.NEWS $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/NEWS
 	install -D -m644 debian/xen-utils.README.Debian $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/README.Debian
 	dh_install --sourcedir=$(DIR) usr/lib/xen-$(VERSION)
+	dh_install debian/templates/xen-utils.bug/* usr/share/bug/$(PACKAGE_NAME)
 	dh_lintian
 	( echo -n "misc:Built-Using="; dpkg-query -f='$${source:Package} (= $${source:Version}), ' -W ipxe-qemu seabios; echo ) >> debian/$(PACKAGE_NAME).substvars
 	dh_python2 -V$(shell pyversions -rv) /usr/lib/xen-$(VERSION)
diff --git a/debian/templates/libxen.bug/control b/debian/templates/libxen.bug/control
new file mode 100644
index 0000000..3e21b39
--- /dev/null
+++ b/debian/templates/libxen.bug/control
@@ -0,0 +1 @@
+Submit-As: src:xen
diff --git a/debian/templates/xen-hypervisor.bug/control b/debian/templates/xen-hypervisor.bug/control
new file mode 100644
index 0000000..3e21b39
--- /dev/null
+++ b/debian/templates/xen-hypervisor.bug/control
@@ -0,0 +1 @@
+Submit-As: src:xen
diff --git a/debian/templates/xen-utils.bug/control b/debian/templates/xen-utils.bug/control
new file mode 100644
index 0000000..3e21b39
--- /dev/null
+++ b/debian/templates/xen-utils.bug/control
@@ -0,0 +1 @@
+Submit-As: src:xen

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xen/xen.git



More information about the Pkg-xen-changes mailing list