File project.diff of Package debbuild-macros
--- debbuild-macros.spec.orig
+++ debbuild-macros.spec
@@ -16,6 +16,7 @@ License: MIT and LGPL-2.1-or-late
URL: https://github.com/debbuild/debbuild-macros
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+Patch0: 0001-make-sure-python-detects-package-build-mode.patch
Requires: debbuild >= 22.02.1
%if (0%{?ubuntu} && 0%{?ubuntu} < 1604) || (0%{?debian} && 0%{?debian} < 8)