Source: rtl-sdr
Version: 0.5.3-10
Severity: important
Tags: patch

Hi,

Upon installation, I see:

  Preparing to unpack .../0-librtlsdr0_0.5.3-10_amd64.deb ...
  dpkg: warning: version '--' has bad syntax: version number does not start 
with digit

Your debian/librtlsdr0.maintscript file contains:
 
  rm_conffile /etc/modprobe.d/rtl-sdr-blacklist.conf 0.5.3-10~ -- "$@"

.. but in dh_installdeb(1):

       package.maintscript
           Lines in this file correspond to dpkg-maintscript-helper(1)
           commands and parameters.  However, the "maint-script-
           parameters" should not be included as debhelper will add those
           automatically.

           Example:

               # Correct
               rm_conffile /etc/obsolete.conf 0.2~ foo
               # INCORRECT
               rm_conffile /etc/obsolete.conf 0.2~ foo -- "$@"


Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/librtlsdr0.maintscript b/debian/librtlsdr0.maintscript
index e0c6648..9819521 100644
--- a/debian/librtlsdr0.maintscript
+++ b/debian/librtlsdr0.maintscript
@@ -1 +1 @@
-rm_conffile /etc/modprobe.d/rtl-sdr-blacklist.conf 0.5.3-10~ -- "$@"
+rm_conffile /etc/modprobe.d/rtl-sdr-blacklist.conf 0.5.3-10~

Reply via email to