Package: python-debianbts Severity: wishlist Tags: patch Hi,
The dpatch patch management system has been deprecated for some time. The Lintian currently flags use of dpatch packages as an error. The new 3.0 packaging format is an improved version which, among other things, contains patch management built-in. For more information, see: http://wiki.debian.org/Projects/DebSrc3.0 I had some free time; see attached patch to migrate to new package format. Note that all files in debian/patches/* are canocalized to *.patch. Let me know if there is anything that needs adjusting or if it is ok to upload this version in a NMU in case you are working on other issues needing attention. Thanks, Jari
>From 7a200c6a9bf6254153d1884a4ebac880121a648d Mon Sep 17 00:00:00 2001 From: Jari Aalto <jari.aa...@cante.net> Date: Wed, 11 Apr 2012 12:41:45 +0300 Subject: [PATCH] format-3.0 Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto <jari.aa...@cante.net> --- debian/changelog | 12 ++++++++++++ debian/compat | 2 +- debian/control | 11 ++++++----- debian/copyright | 6 +++--- debian/rules | 9 ++++++--- debian/source/format | 1 + 6 files changed, 29 insertions(+), 12 deletions(-) delete mode 100644 debian/patches/00list create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog index 8378dec..12e6ff2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +python-debianbts (1.10+nmu1) unstable; urgency=low + + * Non-maintainer upload. + * Remove unused dpatch and upgrade to packaging format "3.0 (native)". + * Update to Standards-Version to 3.9.3.1 and debhelper to 9. + * Add build-arch and build-indep targets to rules file. + * Fix copyright-with-old-dh-make-debian-copyright (Lintian). + * Fix spelling-error-in-description (Lintian). + * Fix copyright-refers-to-symlink-license (Lintian). + + -- Jari Aalto <jari.aa...@cante.net> Wed, 11 Apr 2012 12:41:10 +0300 + python-debianbts (1.10) unstable; urgency=low * Switched to distutils diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index 2ebcd6e..a0d80bb 100644 --- a/debian/control +++ b/debian/control @@ -2,9 +2,9 @@ Source: python-debianbts Section: python Priority: optional Maintainer: Bastian Venthur <vent...@debian.org> -Build-Depends: dpatch, debhelper (>= 7), python-support (>= 0.6), python -Standards-Version: 3.9.1 -VCS-git: git://github.com/venthur/python-debianbts.git +Build-Depends: debhelper (>= 9), python-support (>= 0.6), python +Standards-Version: 3.9.3.1 +Vcs-Git: git://github.com/venthur/python-debianbts.git Vcs-Browser: http://github.com/venthur/python-debianbts Package: python-debianbts @@ -12,5 +12,6 @@ Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-soappy Provides: ${python:Provides} Description: Python interface to Debian's Bug Tracking System - This package provides the debianbts module, which allows to query Debian's BTS - via it's SOAP-inteface and returns the answer in Python's native data types. + This package provides the debianbts module, which allows one to query + Debian's BTS via it's SOAP-inteface and returns the answer in + Python's native data types. diff --git a/debian/copyright b/debian/copyright index bfb4778..f052536 100644 --- a/debian/copyright +++ b/debian/copyright @@ -28,7 +28,7 @@ License: Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. +Public License can be found in `/usr/share/common-licenses/GPL-2'. -The Debian packaging is (C) 2008, Bastian Venthur <vent...@debian.org> and -is licensed under the GPL, see above. +The Debian packaging is Copyright (C) 2008, Bastian Venthur +<vent...@debian.org> and is licensed under the GPL, see above. diff --git a/debian/patches/00list b/debian/patches/00list deleted file mode 100644 index e69de29..0000000 diff --git a/debian/rules b/debian/rules index 2f7f946..7853cf7 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,6 @@ -include /usr/share/dpatch/dpatch.make configure: configure-stamp configure-stamp: @@ -21,9 +20,13 @@ configure-stamp: touch configure-stamp + +build-arch: build +build-indep: build + build: build-stamp -build-stamp: configure-stamp patch-stamp +build-stamp: configure-stamp dh_testdir # Add here commands to compile the package. @@ -32,7 +35,7 @@ build-stamp: configure-stamp patch-stamp touch $@ -clean: unpatch +clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- 1.7.9.5