Bastian Blank
2008-May-17 14:01 UTC
[Pkg-xen-changes] r571 - in trunk/xen-unstable/debian: . bin templates
Author: waldi Date: Sat May 17 14:01:28 2008 New Revision: 571 Log: Add lintian override to xen-utils package. * debian/bin/gencontrol.py: Create overrides. * debian/changelog: Update. * debian/rules.real: Install lintian overrides. * debian/templates/xen-utils.lintian-overrides.in: Add. Added: trunk/xen-unstable/debian/templates/xen-utils.lintian-overrides.in - copied unchanged from r569, /trunk/xen-3/debian/templates/xen-utils.lintian-overrides.in Modified: trunk/xen-unstable/debian/bin/gencontrol.py trunk/xen-unstable/debian/rules trunk/xen-unstable/debian/rules.real Modified: trunk/xen-unstable/debian/bin/gencontrol.py =============================================================================--- trunk/xen-unstable/debian/bin/gencontrol.py (original) +++ trunk/xen-unstable/debian/bin/gencontrol.py Sat May 17 14:01:28 2008 @@ -52,7 +52,7 @@ package_utils_name = packages_utils[0][''Package''] - for i in (''postinst'', ''prerm''): + for i in (''postinst'', ''prerm'', ''lintian-overrides''): j = self.substitute(self.templates["xen-utils.%s" % i], vars) file("debian/%s.%s" % (package_utils_name, i), ''w'').write(j) Modified: trunk/xen-unstable/debian/rules =============================================================================--- trunk/xen-unstable/debian/rules (original) +++ trunk/xen-unstable/debian/rules Sat May 17 14:01:28 2008 @@ -61,7 +61,7 @@ tar -C ../orig -xzf $(TAR_ORIG) endif -CONTROL_FILES += debian/changelog $(wildcard debian/templates/control.*) +CONTROL_FILES += debian/changelog debian/bin/gencontrol.py $(wildcard debian/templates/*.in) CONTROL_FILES += $(wildcard debian/arch/defines) $(wildcard debian/arch/*/defines) GENCONTROL = $(__MODULES_DIR)gencontrol.py debian/control debian/rules.gen: $(CONTROL_FILES) Modified: trunk/xen-unstable/debian/rules.real =============================================================================--- trunk/xen-unstable/debian/rules.real (original) +++ trunk/xen-unstable/debian/rules.real Sat May 17 14:01:28 2008 @@ -152,6 +152,7 @@ dh_clean -k 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 + install -D -m644 debian/xen-utils-$(VERSION)$(ABINAME).lintian-overrides $(PACKAGE_DIR)/usr/share/lintian/overrides/$(PACKAGE_NAME) dh_install --sourcedir=$(DIR) usr/lib/xen-$(VERSION)$(ABINAME) dh_install --sourcedir=$(DIR) usr/share/xen-$(VERSION)$(ABINAME) dh_pycentral usr/lib/xen-$(VERSION)$(ABINAME)