summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-08-03 13:19:18 +0100
committerColin Watson <cjwatson@debian.org>2019-08-03 13:19:18 +0100
commit9bbe51dd773453b850bb0c4ed7b642d0a3a7d258 (patch)
tree8a912aec0523c3ec98017d20ad8ff13b3b3a5d21
parentd347a060834dc8f957b11c04a16f3a61e95af032 (diff)
Build using python3
-rw-r--r--debian/changelog1
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
3 files changed, 3 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 0cc1cf6..d0dfeb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
iprutils (2.4.18.1-2) UNRELEASED; urgency=medium
* Use debhelper-compat instead of debian/compat.
+ * Build using python3.
-- Colin Watson <cjwatson@debian.org> Sat, 03 Aug 2019 12:41:46 +0100
diff --git a/debian/control b/debian/control
index a6853a8..8380988 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Colin Watson <cjwatson@debian.org>
Uploaders: Frederic Bonnard <frediz@linux.vnet.ibm.com>, Breno Leitao <brenohl@br.ibm.com>
Standards-Version: 4.1.0
-Build-Depends: debhelper (>= 9.20160709~), debhelper-compat (= 9), dh-autoreconf, dh-exec, libncurses5-dev, zlib1g-dev, python
+Build-Depends: debhelper (>= 9.20160709~), debhelper-compat (= 9), dh-autoreconf, dh-exec, libncurses5-dev, zlib1g-dev, python3
Homepage: https://sourceforge.net/projects/iprdd/
Vcs-Git: https://salsa.debian.org/debian/iprutils.git
Vcs-Browser: https://salsa.debian.org/debian/iprutils
diff --git a/debian/rules b/debian/rules
index 38340f0..1256b5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export DEB_CFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
dh $@ --with=autoreconf,systemd
override_dh_auto_configure:
- dh_auto_configure -- \
+ PYTHON=python3 dh_auto_configure -- \
--prefix=/ --mandir=/usr/share/man \
--with-initscripts=/etc/init.d \
--enable-iprdumpfmt --enable-sosreport \