linux-support: Build with dh_python3 and set dependencies accordingly

This commit is contained in:
Ben Hutchings 2015-08-31 01:59:51 +01:00
parent 197e29aab4
commit 10d489d31f
3 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View File

@ -17,7 +17,8 @@ linux (4.2-1~exp1) UNRELEASED; urgency=medium
are redundant with sparc64 and neither is an official port
* Fix last issue that prevents a reproducible build (Closes: #769844):
- DocBook: Use a fixed encoding for output
* debian/bin,debian/control,debian/lib/python,debian/rules.real: Use Python 3
* debian/bin,debian/control,debian/lib/python,debian/rules.real,
linux-support: Use Python 3
* debian/bin/genorig.py: Make orig tarballs reproducible
-- Ben Hutchings <ben@decadent.org.uk> Tue, 25 Aug 2015 18:50:57 +0100

2
debian/rules.real vendored
View File

@ -334,7 +334,7 @@ install-support:
dh_installdirs $(PACKAGE_ROOT)/lib/python/debian_linux $(PACKAGE_ROOT)/modules
cp debian/config.defines.dump $(PACKAGE_DIR)$(PACKAGE_ROOT)
cp debian/lib/python/debian_linux/*.py $(PACKAGE_DIR)$(PACKAGE_ROOT)/lib/python/debian_linux
dh_python2
dh_python3
dh_link $(PACKAGE_ROOT) /usr/src/$(PACKAGE_NAME)
+$(MAKE_SELF) install-base

View File

@ -46,7 +46,7 @@ Description: Linux kernel API manual pages for version @version@
Package: linux-support-@abiname@
Architecture: all
Section: devel
Depends: ${python:Depends}, ${misc:Depends}, python-six
Depends: ${python3:Depends}, ${misc:Depends}
Multi-Arch: foreign
Description: Support files for Linux @upstreamversion@
This package provides support files for the Linux kernel build,