diff --git a/resources/linux/rpm/code.spec.template b/resources/linux/rpm/code.spec.template index 3407d4a0c51..03272de1a48 100644 --- a/resources/linux/rpm/code.spec.template +++ b/resources/linux/rpm/code.spec.template @@ -14,6 +14,10 @@ AutoReq: 0 %description Visual Studio Code is a new choice of tool that combines the simplicity of a code editor with what developers need for the core edit-build-debug cycle. See https://code.visualstudio.com/docs/setup/linux for installation instructions and FAQ. +# Don't generate build_id links to prevent conflicts when installing multiple +# versions of VS Code alongside each other (e.g. `code` and `code-insiders`) +%define _build_id_links none + %install mkdir -p %{buildroot}/usr/share/@@NAME@@ mkdir -p %{buildroot}/usr/share/applications