Prepare to release linux-tools (3.10-4) for the perl 5.18 transition

usbip: Fix package version override to be binNMU-safe, ready for the
next time

svn path=/dists/sid/linux-tools/; revision=20533
This commit is contained in:
Ben Hutchings 2013-08-30 11:46:32 +00:00
parent 4535007178
commit b26b7ec848
2 changed files with 13 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
linux-tools (3.10-4) unstable; urgency=low
* Sourceful upload for the perl 5.18 transition
* usbip: Fix package version override to be binNMU-safe
-- Ben Hutchings <ben@decadent.org.uk> Fri, 30 Aug 2013 12:44:56 +0100
linux-tools (3.10-3) unstable; urgency=low
* linux-kbuild: Fix no-modules case in modpost wrapper (Closes: #719129)

8
debian/rules.real vendored
View File

@ -4,6 +4,10 @@ include debian/rules.defs
DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
# VERSION_DEBIAN is the package source version; VERSION_DEBIAN_FULL
# includes any binNMU part.
VERSION_DEBIAN_FULL := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p')
binary-arch: install-kbuild install-usbip
ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),)
binary-arch: install-tools
@ -74,7 +78,7 @@ install-usbip: $(STAMPS_DIR)/build
dh_fixperms
dh_installdeb
dh_shlibdeps
test -n "$(VERSION)" -a -n "$(VERSION_DEBIAN)"
dh_gencontrol -- -v$(VERSION)+$(VERSION_DEBIAN)
test -n "$(VERSION)" -a -n "$(VERSION_DEBIAN_FULL)"
dh_gencontrol -- -v$(VERSION)+$(VERSION_DEBIAN_FULL)
dh_md5sums
dh_builddeb