Source: bmap-tools
Severity: normal
Tags: patch

Hi,

this is a follow-up of #1032062. The same arguments apply:

 - bmap-tools with a hyphen contains a tool without a hyphen
 - bmap-tools is plural but only contains a single tool
 - upstream changed to yoctoproject and even calls the project bmaptool

I'm not suggesting to rename the source package. But when working with
bmaptool and even while writing this email I always keep asking myself
and end up checking to make sure whether the binary name or the package
name was the one with the hyphen or the one with plural "s" at the end.

All this confusion could end by naming the binary package after the tool
it contains and following the naming of the new upstream at the same
time.

Here is a patch. I would create a MR on salsa but you still didn't push
the recent 3.8 upload. :)

--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,18 @@ Rules-Requires-Root: no
 Homepage: https://github.com/intel/bmap-tools
 
 Package: bmap-tools
+Depends: bmaptool, ${misc:Depends}
 Architecture: all
+Priority: optional
+Section: oldlibs
+Description: transitional package
+ This is a transitional package. It can safely be removed.
+
+Package: bmaptool
+Architecture: all
+Replaces: bmap-tools (<< 1.8)
+Breaks: bmap-tools (<< 1.8)
+Provides: bmap-tools
 Depends:
  python3,
  python3-six,
@@ -36,8 +47,6 @@ Suggests:
  pigz,
  python3-gpg,
  unzip,
-Provides:
- bmaptool (= ${binary:Version}),
 Description: tool to flash image files to block devices using the block map
  bmaptool is a generic tool for creating the block map (bmap) for a
  file, and copying files using the block map. The idea is that large



There is one package that Depends and one package that Recommends bmap-tools. I
can take care of fixing these two if you agree with the rename.

Thanks!

cheers, josch

Reply via email to