debian/{control,rules}: drop the obsolete -dbg package
authorAntonio Ospite <ao2@ao2.it>
Fri, 2 Mar 2018 17:40:44 +0000 (18:40 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 2 Mar 2018 22:19:51 +0000 (23:19 +0100)
This silences the following lintian notice:

I: libam7xxx source: debian-control-has-obsolete-dbg-package libam7xxx0.1-dbg
N:
N:    The debian/control file includes declaration of -dbg package.
N:
N:    Debug package are now autogenerated avoiding waste of miror space.
N:
N:    Please note that -dbg should be dropped from control file and must not
N:    be transitioned to a dummy package depending on -dbgsym.
N:
N:    Refer to https://wiki.debian.org/AutomaticDebugPackage for details.
N:
N:    Severity: wishlist, Certainty: possible
N:
N:    Check: control-file, Type: source
N:

debian/control
debian/rules

index aaded81..e36cbf9 100644 (file)
@@ -37,30 +37,6 @@ Description: library for accessing am7xxx based devices
  .
  This package contains the shared library of libam7xxx.
 
-Package: libam7xxx0.1-dbg
-Section: debug
-Architecture: any
-Depends: ${misc:Depends}, libam7xxx0.1 (= ${binary:Version})
-Description: debugging symbols for libam7xxx
- libam7xxx is an Open Source library to communicate via USB with projectors and
- Digital Picture Frames based on the Actions Micro AM7XXX family if ICs.
- .
- libam7xxx makes it possible to use these devices as USB displays on
- non-Windows Operating Systems like GNU/Linux or Android/Linux just to name
- a few, and on non-PC platforms like for instance mobile phones, tablets or
- game consoles.
- .
- Examples of supported devices are:
-   - Acer C110
-   - Acer C112
-   - Aiptek PocketCinema T25
-   - Philips/SagemCom PicoPix 1020
-   - Philips/SagemCom PicoPix 2055
-   - Philips/SagemCom PicoPix 2330
-   - Top-Height/TEC PP700
- .
- This package contains the debugging symbols for libam7xxx.
-
 Package: libam7xxx-dev
 Architecture: any
 Depends: ${misc:Depends}, libam7xxx0.1 (= ${binary:Version})
index 3174e6c..36b1f4a 100755 (executable)
@@ -12,4 +12,4 @@ override_dh_installchangelogs:
 
 .PHONY: override_dh_strip
 override_dh_strip:
-       dh_strip --dbg-package=libam7xxx0.1-dbg
+       dh_strip --dbgsym-migration='libam7xxx0.1-dbg (<< 0.1.7-1~)'