bat for Debian
==============
-In this package the executable and its manpage have been renamed from ‘bat’ to
-‘batcat’ because of a file name clash with another Debian package.
+Before 0.22.1-3, the binary was called batcat. As the other Debian package has been
+renamed, we renamed it to bat.
+We kept ‘batcat’ as symlink for compatiblity reasons.
+
+ -- Sylvestre Ledru <sylvestre@debian.org>, Sat, 21 Jan 2023 10:55:49 +0100
-#!/usr/bin/dh-exec
-
-# Do not install the completions yet, as they are not consistent with the
-# bat->batcat rename. This is fixed upstream but not yet released: in the
-# new versions of bat the binary name will be parametrized.
-#
-# assets/completions/bat.fish => /usr/share/fish/completions/batcat.fish
+assets/completions/bat.fish => /usr/share/fish/completions/bat.fish
# Remove this once #932634 is fixed
-bat: embedded-library usr/bin/batcat: libyaml
+bat: embedded-library usr/bin/cat: libyaml
-#!/usr/bin/dh-exec
-
-#doc/bat.1 => usr/share/man/man1/batcat.1
+doc/bat.1
+rust-bat (0.22.1-3) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
+
+ * Team upload.
+ * Package bat 0.22.1 from crates.io using debcargo 2.6.0
+ * Ship bat as bat (instead of batcat) (Closes: #1029096)
+
+ -- Sylvestre Ledru <sylvestre@debian.org> Sat, 21 Jan 2023 10:52:37 +0100
+
rust-bat (0.22.1-2) unstable; urgency=medium
* Team upload.
* git integration;
* automatic paging;
* a user-friendly command-line interface.
-
-In this package the executable and its manpage have been renamed from ‘bat’ to
-‘batcat’ because of a file name clash with another Debian package.
"""
%:
dh $@ --buildsystem cargo
-override_dh_auto_install:
- # Once #946616 is fixed run `dh_auto_install --destdir=debian/tmp/`
- # and use d/bat.install with dh-exec to install the renamed binary.
- dh_auto_install
- mv debian/bat/usr/bin/bat debian/bat/usr/bin/batcat