Skip to content

Commit 1900578

Browse files
committed
Build: Suppress generation of .build-id links in rpm packages
This commit addresses a certain issue with `rpmbuild` in which certain packages will conflict with each other because they have identical `.build-id` links in the package. I can speculate from some comments I've seen that this might be do to electron versions the packages rely on, but I can't know for sure. Most relevant issues I've seen: jordansissel/fpm#1503 jgraph/drawio-desktop#259
1 parent 56f4c37 commit 1900578

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_scripts/build.js

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ const config = {
6969
icon: '_icons/icon.svg',
7070
target: ['deb', 'zip', 'apk', 'rpm', 'AppImage', 'pacman'],
7171
},
72+
// See the following issues for more information
73+
// https://github.com/jordansissel/fpm/issues/1503
74+
// https://github.com/jgraph/drawio-desktop/issues/259
75+
rpm: {
76+
fpm: [`--rpm-rpmbuild-define=_build_id_links none`]
77+
},
7278
deb: {
7379
depends: [
7480
"libgtk-3-0",

0 commit comments

Comments
 (0)