Hello,

Attached is a patch to remove the py extension from the file.

It does so by providing an extra link to the file without the .py
extension. I did prefer not renaming the original file to maintain the
upstream name unchanged. Let me know if this is not the preferred path.

-- 
Athos Ribeiro

http://www.ime.usp.br/~athoscr
diff -Nru llvm-toolchain-5.0-5.0.1/debian/changelog 
llvm-toolchain-5.0-5.0.1/debian/changelog
--- llvm-toolchain-5.0-5.0.1/debian/changelog   2018-03-22 08:11:21.000000000 
-0300
+++ llvm-toolchain-5.0-5.0.1/debian/changelog   2018-03-27 00:03:40.000000000 
-0300
@@ -1,3 +1,10 @@
+llvm-toolchain-5.0 (1:5.0.1-5.1) UNRELEASED; urgency=medium
+
+  * Create symlink to run-clang-tidy-X.Y.py to remove its .py extension
+    (Closes: #892089)
+
+ -- Athos Ribeiro <[email protected]>  Tue, 27 Mar 2018 00:03:40 -0300
+
 llvm-toolchain-5.0 (1:5.0.1-5) unstable; urgency=medium
 
   * Fix the lintian error 'privacy-breach-uses-embedded-file'
diff -Nru llvm-toolchain-5.0-5.0.1/debian/clang-tidy-X.Y.links.in 
llvm-toolchain-5.0-5.0.1/debian/clang-tidy-X.Y.links.in
--- llvm-toolchain-5.0-5.0.1/debian/clang-tidy-X.Y.links.in     2018-03-22 
08:11:21.000000000 -0300
+++ llvm-toolchain-5.0-5.0.1/debian/clang-tidy-X.Y.links.in     2018-03-27 
00:03:40.000000000 -0300
@@ -1,3 +1,4 @@
 usr/lib/llvm-@LLVM_VERSION@/share/clang/run-clang-tidy.py 
usr/bin/run-clang-tidy-@[email protected]
+usr/lib/llvm-@LLVM_VERSION@/share/clang/run-clang-tidy.py 
usr/bin/run-clang-tidy-@LLVM_VERSION@
 usr/lib/llvm-@LLVM_VERSION@/share/clang/clang-tidy-diff.py 
usr/bin/clang-tidy-diff-@[email protected]
 

Attachment: signature.asc
Description: PGP signature

Reply via email to