Package: clang-tidy Version: 1:3.6-28 Severity: normal Tags: patch Dear Maintainer,
IMHO, the package clang-tidy should include a link from /usr/bin/clang-tidy to the default version (currently 3.6), as currently is done in clang-format and clang-modernize. Attached patch adds the missing link. Thanks! -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (50, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages clang-tidy depends on: ii clang-tidy-3.6 1:3.6.2-2 clang-tidy recommends no packages. clang-tidy suggests no packages. -- no debconf information
diff -ur llvm-defaults-0.28/debian/rules llvm-defaults-0.28-mod/debian/rules --- llvm-defaults-0.28/debian/rules 2015-10-19 09:33:36.000000000 -0300 +++ llvm-defaults-0.28-mod/debian/rules 2015-10-20 12:30:11.552847123 -0300 @@ -216,6 +216,13 @@ /usr/lib/llvm-$(PV_LLVM)/bin/$$bin \ /usr/bin/$$bin ; \ done + for bin in \ + clang-tidy \ + ; do \ + dh_link -pclang-tidy \ + /usr/lib/llvm-$(PV_LLVM)/bin/$$bin \ + /usr/bin/$$bin ; \ + done dh_link -pclang \ /usr/bin/scan-build-$(PV_LLVM) \ /usr/bin/scan-build