Control: tags -1 patch

Please find a patch attached.
diff -Nru carl9170fw-1.9.9-690-gc6e7ab0/debian/changelog 
carl9170fw-1.9.9-690-gc6e7ab0/debian/changelog
--- carl9170fw-1.9.9-690-gc6e7ab0/debian/changelog      2025-12-24 
01:26:58.000000000 +0100
+++ carl9170fw-1.9.9-690-gc6e7ab0/debian/changelog      2026-05-04 
16:10:42.000000000 +0200
@@ -1,3 +1,10 @@
+carl9170fw (1.9.9-690-gc6e7ab0-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Generate Built-Using via dh-builtusing (Closes: #1135389)
+
+ -- Bastian Germann <[email protected]>  Mon, 04 May 2026 16:10:42 +0200
+
 carl9170fw (1.9.9-690-gc6e7ab0-0.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru carl9170fw-1.9.9-690-gc6e7ab0/debian/control 
carl9170fw-1.9.9-690-gc6e7ab0/debian/control
--- carl9170fw-1.9.9-690-gc6e7ab0/debian/control        2025-10-06 
11:46:51.000000000 +0200
+++ carl9170fw-1.9.9-690-gc6e7ab0/debian/control        2026-05-04 
16:10:42.000000000 +0200
@@ -6,6 +6,7 @@
  bison,
  cmake,
  debhelper-compat (= 13),
+ dh-sequence-builtusing,
  flex,
  gcc-sh-elf,
  libnewlib-sh-elf-dev
@@ -19,7 +20,7 @@
 Architecture: all
 Depends: ${misc:Depends}
 Conflicts: firmware-linux-free (<< 20200122-5)
-Built-Using: ${gcc-built-using}, newlib (= ${newlib-source-version})
+Built-Using: ${dh-builtusing:gcc-sh-elf}, ${dh-builtusing:libnewlib-sh-elf-dev}
 Description: firmware for AR9170 USB wireless adapters
  This is the carl9170 firmware for Qualcomm Atheros AR9170
  802.11n USB wireless adapters. This gets loaded onto the
diff -Nru carl9170fw-1.9.9-690-gc6e7ab0/debian/rules 
carl9170fw-1.9.9-690-gc6e7ab0/debian/rules
--- carl9170fw-1.9.9-690-gc6e7ab0/debian/rules  2025-12-24 01:16:08.000000000 
+0100
+++ carl9170fw-1.9.9-690-gc6e7ab0/debian/rules  2026-05-04 16:10:42.000000000 
+0200
@@ -41,10 +41,3 @@
        if [ -e carl9170-build/carlfw/carl9170.fw ]; \
        then mv carl9170-build/carlfw/carl9170.fw 
carl9170-build/carlfw/carl9170-1.fw; \
        fi
-
-override_dh_gencontrol:
-       for i in firmware-carl9170; \
-       do \
-               dh_gencontrol -p "$$i" -- -Vgcc-built-using="$(shell dpkg-query 
-Wf'$${Built-Using}\n' gcc-sh-elf | cut -d ',' -f 1)" \
-                       -Vnewlib-source-version=`dpkg-query 
-Wf'$${Built-Using-Newlib-Source}\n' libnewlib-sh-elf-dev | cut -d ':' -f 2`; \
-       done    

Reply via email to