From 5548e2b0b1d21b6b8bf05ef1c1313d16be7df418 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 15 Jan 2021 15:08:22 +0100 Subject: [PATCH] d/rules: fix resolving sphinx-build on bullseye It's included as link in /usr/bin there, so the grep matched it twice, the actual file plus the link, resulting in a build failure. Signed-off-by: Thomas Lamprecht --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 1ce79ad..932153d 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ include /usr/share/dpkg/default.mk VERSION := $(DEB_VERSION_UPSTREAM) REVISION := $(shell echo $(DEB_VERSION) | cut -d- -f2) -SPHINX_BUILD = $(shell dpkg -L python3-sphinx | grep "sphinx-build$$") +SPHINX_BUILD = $(shell dpkg -L python3-sphinx | grep -m 1 "/sphinx-build$$") export DEB_BUILD_MAINT_OPTIONS = hardening=+all