Exclude build-id links from rpm to avoid electron conflicts

Two Electron applications built from the identical electron binary set
package the same ELF build-id links under /usr/lib/.build-id, so
installing trimsp next to musrflow failed the transaction test. Define
_build_id_links none in the rpm spec so the package no longer claims
those paths, regardless of the el9 build host.
This commit is contained in:
2026-09-24 14:46:48 +02:00
parent 737666cea7
commit 0ad68e1e57
2 changed files with 14 additions and 0 deletions
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## Unreleased
### Fixed
- The RPM no longer packages ELF build-id links under `/usr/lib/.build-id`,
which previously conflicted when another Electron application built from the
same binary set (e.g. `musrflow`) was installed alongside `trimsp`.
## 1.4.0 - 2026-08-27
Publication release of TRIMSP-NL Workbench corresponding to the modernization
+6
View File
@@ -4,6 +4,12 @@
%global __strip /bin/true
%endif
# Electron bundles the identical helper binaries into every app, so the ELF
# build-id links under /usr/lib/.build-id collide when another Electron app
# (e.g. musrflow) is installed. Do not package build-id metadata.
%define _build_id_links none
%undefine _missing_build_ids_terminate_build
Name: <%= name %>
Version: <%= version %>
Release: <%= revision %>%{?dist}