I am uploading this as NMU.
diff -Nru cycfx2prog-0.47/debian/changelog cycfx2prog-0.47/debian/changelog
--- cycfx2prog-0.47/debian/changelog    2024-03-24 19:53:34.000000000 +0000
+++ cycfx2prog-0.47/debian/changelog    2024-10-30 20:19:13.000000000 +0000
@@ -1,3 +1,10 @@
+cycfx2prog (0.47-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Convert to debhelper. (Closes: #1086542, #1072877)
+
+ -- Helmut Grohne <[email protected]>  Wed, 30 Oct 2024 21:19:13 +0100
+
 cycfx2prog (0.47-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cycfx2prog-0.47/debian/control cycfx2prog-0.47/debian/control
--- cycfx2prog-0.47/debian/control      2024-03-24 19:53:13.000000000 +0000
+++ cycfx2prog-0.47/debian/control      2024-10-30 20:19:13.000000000 +0000
@@ -2,7 +2,7 @@
 Section: electronics
 Priority: optional
 Maintainer: Uwe Hermann <[email protected]>
-Build-Depends: cdbs, debhelper (>= 9), libusb-dev
+Build-Depends: debhelper (>= 9), libusb-dev
 Standards-Version: 3.9.8
 Homepage: http://www.triplespark.net/elec/periph/USB-FX2/software/
 
diff -Nru cycfx2prog-0.47/debian/dirs cycfx2prog-0.47/debian/dirs
--- cycfx2prog-0.47/debian/dirs 2024-03-24 19:53:13.000000000 +0000
+++ cycfx2prog-0.47/debian/dirs 1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-usr/bin
diff -Nru cycfx2prog-0.47/debian/install cycfx2prog-0.47/debian/install
--- cycfx2prog-0.47/debian/install      1970-01-01 00:00:00.000000000 +0000
+++ cycfx2prog-0.47/debian/install      2024-10-30 20:19:13.000000000 +0000
@@ -0,0 +1 @@
+cycfx2prog usr/bin
diff -Nru cycfx2prog-0.47/debian/patches/series 
cycfx2prog-0.47/debian/patches/series
--- cycfx2prog-0.47/debian/patches/series       1970-01-01 00:00:00.000000000 
+0000
+++ cycfx2prog-0.47/debian/patches/series       2024-10-30 20:19:13.000000000 
+0000
@@ -0,0 +1 @@
+fix-ftbfs-with-ls-as-needed.patch
diff -Nru cycfx2prog-0.47/debian/rules cycfx2prog-0.47/debian/rules
--- cycfx2prog-0.47/debian/rules        2024-03-24 19:53:13.000000000 +0000
+++ cycfx2prog-0.47/debian/rules        2024-10-30 20:19:13.000000000 +0000
@@ -1,17 +1,8 @@
 #!/usr/bin/make -f
-  
-# Note: The version number here must be increased with each upstream release!
-CFLAGS = -O2 -fno-rtti -fno-exceptions -D'CYCFX2PROG_VERSION=\"0.47\"' -W \
-        -Wall -Wformat
-LDFLAGS = -lusb
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/makefile.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+%:
+       dh $@
 
-binary-install/cycfx2prog::
-       install cycfx2prog debian/cycfx2prog/usr/bin
-
-clean::
-       rm -f cycfx2prog
+override_dh_auto_clean:
+       dh_auto_clean -- distclean
 

Reply via email to