[neon/backports-noble/gst-plugins-good1.0-noble/Neon/release] debian: declare it globally instead
Carlos De Maine
null at kde.org
Wed Jul 22 04:39:45 BST 2026
Git commit 630ceb4d8e4d87703b79d46f716d67b4790f7ac2 by Carlos De Maine.
Committed on 22/07/2026 at 03:39.
Pushed by carlosdem into branch 'Neon/release'.
declare it globally instead
M +5 -3 debian/rules
https://invent.kde.org/neon/backports-noble/gst-plugins-good1.0-noble/-/commit/630ceb4d8e4d87703b79d46f716d67b4790f7ac2
diff --git a/debian/rules b/debian/rules
index 6cab486..62f73a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,10 @@
include /usr/share/dpkg/default.mk
+$(shell mkdir -p $(CURDIR)/debian/tmp-python/distutils && echo "class MSVCCompiler: pass" > $(CURDIR)/debian/tmp-python/distutils/msvccompiler.py)
+
+export PYTHONPATH := $(CURDIR)/debian/tmp-python:$(PYTHONPATH)
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export HOME=$(CURDIR)/fake-home
@@ -63,10 +67,8 @@ endif
%:
dh $@
+
override_dh_auto_configure:
- mkdir -p $(CURDIR)/debian/tmp-python/distutils
- echo "class MSVCCompiler: pass" > $(CURDIR)/debian/tmp-python/distutils/msvccompiler.py
- export PYTHONPATH=$(CURDIR)/debian/tmp-python:$$PYTHONPATH; \
dh_auto_configure -- $(conf_flags)
execute_before_dh_auto_clean:
More information about the Neon-commits
mailing list