aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-08-31 01:59:51 +0100
committerBen Hutchings <ben@decadent.org.uk>2015-08-31 02:05:52 +0100
commit10d489d31f14d395c11bdaad43c17f23d5078091 (patch)
tree0574d7aaf87b26f6f37c73eaecb215354de3542c
parent197e29aab43de12453144c43c34dc5fde616e165 (diff)
downloadkernel_replicant_linux-10d489d31f14d395c11bdaad43c17f23d5078091.tar.gz
kernel_replicant_linux-10d489d31f14d395c11bdaad43c17f23d5078091.tar.bz2
kernel_replicant_linux-10d489d31f14d395c11bdaad43c17f23d5078091.zip
linux-support: Build with dh_python3 and set dependencies accordingly
-rw-r--r--debian/changelog3
-rw-r--r--debian/rules.real2
-rw-r--r--debian/templates/control.main.in2
3 files changed, 4 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index c0a1a9f90074..392288f71880 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/rules.real b/debian/rules.real
index de4b077c54a4..96bb5d31675f 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -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
diff --git a/debian/templates/control.main.in b/debian/templates/control.main.in
index 1663b5aeb2d6..545617d968a1 100644
--- a/debian/templates/control.main.in
+++ b/debian/templates/control.main.in
@@ -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,