Bug#892089: PATCH: Remove the .py extension from run-clang-tidy-5.0.py

Athos Ribeiro athoscribeiro at gmail.com
Tue Mar 27 10:29:59 UTC 2018


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
-------------- next part --------------
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 <athoscribeiro at gmail.com>  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- at LLVM_VERSION@/share/clang/run-clang-tidy.py usr/bin/run-clang-tidy- at LLVM_VERSION@.py
+usr/lib/llvm- at LLVM_VERSION@/share/clang/run-clang-tidy.py usr/bin/run-clang-tidy- at LLVM_VERSION@
 usr/lib/llvm- at LLVM_VERSION@/share/clang/clang-tidy-diff.py usr/bin/clang-tidy-diff- at LLVM_VERSION@.py
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20180327/4c169d3b/attachment.sig>


More information about the Pkg-llvm-team mailing list