diff -Nru python-gudev-147.2/debian/changelog python-gudev-147.2/debian/changelog --- python-gudev-147.2/debian/changelog 2011-02-09 18:31:35.000000000 +0000 +++ python-gudev-147.2/debian/changelog 2012-02-09 11:19:06.000000000 +0000 @@ -1,3 +1,18 @@ +python-gudev (147.2-3) unstable; urgency=low + + * Add dh-autoreconf to DH sequence. + * Switch to dh_python2. + * debian/rules: + - Add --as-needed to linker flags. + - Build for all supported Python versions. + - Remove unneeded *.la files. + - Prune empty directories. + * debian/gbp.conf: Set sign-tags to True. + * Update debian/copyright. + * Bump Standards. + + -- Alessio Treglia Thu, 28 Apr 2011 00:20:39 +0200 + python-gudev (147.2-2) unstable; urgency=medium * Install NEWS file as upstream's changelog. diff -Nru python-gudev-147.2/debian/control python-gudev-147.2/debian/control --- python-gudev-147.2/debian/control 2011-02-09 19:00:40.000000000 +0000 +++ python-gudev-147.2/debian/control 2012-02-09 11:19:06.000000000 +0000 @@ -3,15 +3,15 @@ Priority: optional Maintainer: Alessio Treglia Uploaders: Martin Pitt -Build-Depends: debhelper (>= 7.0.50~), - automake, +Build-Depends: automake, + debhelper (>= 7.0.50~), + dh-autoreconf, + libgudev-1.0-dev (>= 147), libtool, - python-all-dev (>= 2.5), - python-support (>= 0.90), - python-gobject-dev (>= 2.18.0), - libgudev-1.0-dev (>= 147) -Standards-Version: 3.9.1 -XS-Python-Version: all + python-all-dev (>= 2.6.6-3~), + python-gobject-dev (>= 2.18.0) +Standards-Version: 3.9.2 +X-Python-Version: >= 2.5 Vcs-Git: git://git.debian.org/collab-maint/python-gudev.git Vcs-Browser: http://git.debian.org/?p=collab-maint/python-gudev.git Homepage: http://github.com/nzjrs/python-gudev/ @@ -22,7 +22,6 @@ ${misc:Depends}, python-gobject, ${python:Depends} -XB-Python-Version: ${python:Versions} Description: Python bindings for gudev The gudev library makes it much simpler to use libudev from programs already using GObject. diff -Nru python-gudev-147.2/debian/copyright python-gudev-147.2/debian/copyright --- python-gudev-147.2/debian/copyright 2010-06-26 17:22:43.000000000 +0000 +++ python-gudev-147.2/debian/copyright 2012-02-09 11:19:06.000000000 +0000 @@ -1,8 +1,9 @@ -Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 -Name: python-gudev -Maintainer: John Stowers +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 +Upstream-Name: python-gudev +Upstream-Contact: John Stowers Source: http://github.com/nzjrs/python-gudev +Files: * Copyright: John Stowers 2010 License: LGPL-3+ The full text of the LGPL v3 is distributed in @@ -10,6 +11,6 @@ Files: ./debian/* Copyright: - 2010 Alessio Treglia + 2010-2011 Alessio Treglia 2010 Martin Pitt License: LGPL-3+ diff -Nru python-gudev-147.2/debian/gbp.conf python-gudev-147.2/debian/gbp.conf --- python-gudev-147.2/debian/gbp.conf 2010-06-26 17:22:43.000000000 +0000 +++ python-gudev-147.2/debian/gbp.conf 2012-02-09 11:19:06.000000000 +0000 @@ -1,2 +1,3 @@ -[git-buildpackage] +[DEFAULT] pristine-tar = True +sign-tags = True diff -Nru python-gudev-147.2/debian/rules python-gudev-147.2/debian/rules --- python-gudev-147.2/debian/rules 2010-06-26 17:38:18.000000000 +0000 +++ python-gudev-147.2/debian/rules 2012-02-09 11:19:06.000000000 +0000 @@ -1,11 +1,30 @@ #!/usr/bin/make -f +LDFLAGS+=-Wl,--as-needed +PYVERS=$(shell pyversions -s) + %: - dh $@ + dh $@ --with autoreconf,python2 override_dh_auto_configure: - NOCONFIGURE=y ./autogen.sh - dh_auto_configure +override_dh_auto_build: +override_dh_auto_install: + for pyver in $(PYVERS); do \ + PYTHON="$$pyver" ./configure \ + --enable-static=no \ + --prefix=/usr \ + --includedir=\${prefix}/include \ + --mandir=\${prefix}/share/man \ + --infodir=\${prefix}/share/info \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-dependency-tracking && \ + $(MAKE) && $(MAKE) install \ + DESTDIR=$(CURDIR)/debian/python-gudev && \ + $(MAKE) clean ; \ + done + find $(CURDIR)/debian/python-gudev -name '*.la' -delete + find $(CURDIR)/debian/python-gudev -type d -empty -delete override_dh_installchangelogs: dh_installchangelogs NEWS