From a42f7716bf35fdaad1c101d89dc4fb241c473d5b Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Sun, 9 Jan 2022 11:40:00 +0530 Subject: [PATCH] Set build_id_links as none for rpm Avoid build-id conflicts with other electron rpm packages --- electron-builder.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/electron-builder.json b/electron-builder.json index d2f8d33b..48c4cd31 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -120,7 +120,11 @@ "afterInstall": "./build/linux/after-install.tpl" }, "rpm": { - "afterInstall": "./build/linux/after-install.tpl" + "afterInstall": "./build/linux/after-install.tpl", + "fpm": [ + "--rpm-rpmbuild-define", + "_build_id_links none" + ] }, "snap": { "confinement": "classic", @@ -132,4 +136,4 @@ "ssh" ] } -} +} \ No newline at end of file