sozi-projects / Sozi

A "zooming" presentation editor
http://sozi.baierouge.fr
Mozilla Public License 2.0
1.59k stars 165 forks source link

RPM package conflicts with other Electron applications #605

Closed aumouvantsillage closed 2 years ago

aumouvantsillage commented 2 years ago

Summary of your problem or feature request

The RPM package of Sozi contains files that conflict with files from other Electron applications.

Version of Sozi and other relevant software

Steps to reproduce the problem

Install Atom 1.59 from the official RPM package at https://atom.io/ Install Sozi using this command:

sudo dnf install sozi-22.02.01.1643748385-1.x86_64.rpm

Expected behavior

Sozi should install with no error.

Observed behavior

dnf fails with the following messages:

file /usr/lib/.build-id/[...] from install of sozi-22.02.01.1643748385-1.fc35.x86_64 is in conflict with file from package atom-1.59.0-0.1.x86_64

Hints and solutions (optional)

This can be solved by passing option --define "_build_id_links none" to rpmbuild. Unfortunately, electron-installer-redhat does not support this option.