From 1da95321b14f4fa68e8b3a23b72c12e1fc4a4ca1 Mon Sep 17 00:00:00 2001 From: David Bailey Date: Mon, 8 Feb 2021 15:07:55 +0000 Subject: [PATCH] RPM: Don't generate build_id links (#116105) * Don't generate build_id links * add comment explaining change --- resources/linux/rpm/code.spec.template | 4 ++++ 1 file changed, 4 insertions(+) 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