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: https://github.com/jordansissel/fpm/issues/1503 https://github.com/jgraph/drawio-desktop/issues/259
This commit is contained in:
parent
56f4c37735
commit
1900578d2d
|
@ -69,6 +69,12 @@ const config = {
|
||||||
icon: '_icons/icon.svg',
|
icon: '_icons/icon.svg',
|
||||||
target: ['deb', 'zip', 'apk', 'rpm', 'AppImage', 'pacman'],
|
target: ['deb', 'zip', 'apk', 'rpm', 'AppImage', 'pacman'],
|
||||||
},
|
},
|
||||||
|
// See the following issues for more information
|
||||||
|
// https://github.com/jordansissel/fpm/issues/1503
|
||||||
|
// https://github.com/jgraph/drawio-desktop/issues/259
|
||||||
|
rpm: {
|
||||||
|
fpm: [`--rpm-rpmbuild-define=_build_id_links none`]
|
||||||
|
},
|
||||||
deb: {
|
deb: {
|
||||||
depends: [
|
depends: [
|
||||||
"libgtk-3-0",
|
"libgtk-3-0",
|
||||||
|
|
Loading…
Reference in New Issue