[neon/extras/clazy/Neon/release] debian: add new clazy-tests package

Pino Toscano null at kde.org
Wed Sep 7 22:14:01 BST 2022


Git commit 2aba5b599c8ac7603940062a59ee52c432968df7 by Pino Toscano.
Committed on 01/11/2020 at 15:43.
Pushed by jriddell into branch 'Neon/release'.

add new clazy-tests package

M  +4    -0    debian/changelog
M  +7    -0    debian/control
M  +1    -1    debian/rules

https://invent.kde.org/neon/extras/clazy/commit/2aba5b599c8ac7603940062a59ee52c432968df7

diff --git a/debian/changelog b/debian/changelog
index 1842c0b..9418838 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
 clazy (1.7-4) UNRELEASED; urgency=medium
 
+  [ Pino Toscano ]
+  * Add a new package clazy-tests, mostly for autopkgtest purposes:
+    - use --destdir=debian/clazy to install everything directly in clazy
+    - make clazy-tests depend on the exact clazy version
 
  -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Mon, 26 Oct 2020 05:48:39 -0700
 
diff --git a/debian/control b/debian/control
index 3a8d252..ebb74b3 100644
--- a/debian/control
+++ b/debian/control
@@ -28,3 +28,10 @@ Description: Clang plugin for additional warnings
  50 warnings related to Qt best practices ranging from unneeded
  memory allocations to API misuse. It’s an opensource project
  spawned by KDAB’s R&D efforts for better C++ tooling.
+
+Package: clazy-tests
+Architecture: any
+Depends: ${misc:Depends}, clazy (= ${binary:Version})
+Description: test files for Clazy
+ This package contains all the test files needed for running the autopkgtest
+ of Clazy. This is hardly useful to install in any other context than this.
diff --git a/debian/rules b/debian/rules
index f59c8c8..08a3fb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ override_dh_auto_configure:
 	dh_auto_configure -- -DCLANGPP_EXECUTABLE="$(CLANGPP)"
 
 override_dh_auto_install:
-	dh_auto_install
+	dh_auto_install --destdir=debian/clazy
 	# drop RPATH pointing to the private libdir of LLVM libraries,
 	# i.e. /usr/lib/llvm-$VERSION/lib
 	chrpath -d $(CURDIR)/debian/clazy/usr/bin/clazy-standalone $(CURDIR)/debian/clazy/usr/lib/*/*.so



More information about the Neon-commits mailing list