[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#936717: ibus-array: Python2 removal in sid/bullseye



Control: Tags -1 + patch

A suggested patch is attached.
diff --git a/debian/control b/debian/control
index 303a216..ba06f15 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: autoconf (>= 2.5),
                autopoint,
                debhelper (>= 9),
                dh-autoreconf,
+               dh-python,
                libibus-1.0-dev,
                libsqlite3-dev,
                libtool (>= 2.2),
diff --git a/debian/rules b/debian/rules
index 28e31a5..1dddbcf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,6 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,-ldl
 	dh $@ --with python3,autoreconf
 
 override_dh_auto_configure:
-	dh_auto_configure -- \
+	env PYTHON=/usr/bin/python3 dh_auto_configure -- \
 		--libexecdir=/usr/lib/ibus
 

Reply to: