[neon/extras/kstars/Neon/release] debian: rules: drop custom $HOME & $TMPDIR

Pino Toscano null at kde.org
Tue Nov 1 11:10:31 GMT 2022


Git commit 5adb5cdd9d5ff756e5ed2190606de6cda2682b43 by Pino Toscano.
Committed on 12/09/2021 at 10:21.
Pushed by jriddell into branch 'Neon/release'.

rules: drop custom $HOME & $TMPDIR

M  +2    -0    debian/changelog
M  +0    -6    debian/rules

https://invent.kde.org/neon/extras/kstars/commit/5adb5cdd9d5ff756e5ed2190606de6cda2682b43

diff --git a/debian/changelog b/debian/changelog
index 3b3f1a3..23f068e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ kstars (5:3.5.4-0r1) UNRELEASED; urgency=medium
     - stop passing --fail-missing to dh_missing, as it is the default now
     - drop the check for nocheck in $DEB_BUILD_OPTIONS, as dh_auto_test is
       skipped automatically in that case
+    - stop creating a local $HOME, and $TMPDIR for dh_auto_test: dh
+      automatically creates $HOME, and the default $TMPDIR should be enough
   * Temporarily disable the INDI support (the libindi-dev build dependency),
     as it requires StellarSolver which is not available in Debian yet.
   * Drop the kde-l10n breaks/replaces, no more needed after two Debian stable
diff --git a/debian/rules b/debian/rules
index 1bf2698..85e9718 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,9 +6,3 @@
 execute_after_dh_auto_install:
 	# remove development stuff
 	find debian/tmp -name '*.a' -delete
-
-override_dh_auto_test:
-	$(eval TESTS_HOME := $(shell mktemp -d --tmpdir kstars-home.XXXXXX))
-	mkdir -p "$(TESTS_HOME)/tmp"
-	env HOME="$(TESTS_HOME)" TMPDIR="$(TESTS_HOME)/tmp" dh_auto_test
-	rm -rfv "$(TESTS_HOME)"



More information about the Neon-commits mailing list