debian/xen-utils-V.*: Use @version@ instead of hardcoded version
authorHans van Kranenburg <hans@knorrie.org>
Mon, 25 May 2020 20:08:53 +0000 (22:08 +0200)
committerHans van Kranenburg <hans@knorrie.org>
Thu, 23 Jul 2020 12:35:10 +0000 (14:35 +0200)
I guess this doesn't need a lot of extra explanation...

Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
debian/xen-utils-V.install.vsn-in
debian/xen-utils-V.lintian-overrides.vsn-in

index 6a0e65f8974d896fd9963b01921992afa07a00d1..d8a552cb973fc6fee745ba6ece6684c214c92181 100644 (file)
@@ -5,5 +5,5 @@ usr/lib/xen-@version@/lib/python
 usr/lib/xen-@version@/boot
 usr/lib/debug/usr/lib/xen-*/boot/* usr/lib/debug/xen-syms-@version@-shim
 # ^ Yes, the upstream build system really does install the shim symbols
-#   file in debian/tmp/usr/lib/debug/usr/lib/xen-4.11/boot/xen-shim-syms
+#   file in debian/tmp/usr/lib/debug/usr/lib/xen-@version@/boot/xen-shim-syms
 ?
index 0e4a4246f868fca5547228a0471d58b67e83c754..0f2ecf8253fd34a7261762185ebf9383873bd35b 100644 (file)
@@ -1,13 +1,13 @@
 statically-linked-binary usr/lib/xen-@version@/boot/hvmloader
 statically-linked-binary usr/lib/xen-@version@/boot/xen-shim
 
-binary-has-unneeded-section usr/lib/xen-4.11/boot/xen-shim .note
+binary-has-unneeded-section usr/lib/xen-@version@/boot/xen-shim .note
 # ^ that section is certainly needed for the tools etc. to be able
 #   to load it!
 
-binary-from-other-architecture usr/lib/debug/xen-syms-4.11-shim/xen-shim-syms
+binary-from-other-architecture usr/lib/debug/xen-syms-@version@-shim/xen-shim-syms
 # ^ this is a symbols file for the shim
 
-binary-or-shlib-defines-rpath usr/lib/xen-4.11/lib/python/xenfsimage.so /usr/lib/xen-4.11/lib/x86_64-linux-gnu
+binary-or-shlib-defines-rpath usr/lib/xen-@version@/lib/python/xenfsimage.so /usr/lib/xen-@version@/lib/x86_64-linux-gnu
 # ^ this module needs to load the libfsimage .so from within
 #   the xen-utils private directory.  less +/fsimage debian/rules