mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-17 12:09:58 +00:00
[client] use soname-based RPM deps for UI webkitgtk/gtk4
Hardcoded RPM dependency names (gtk4, webkitgtk6.0) only exist on Fedora; OpenSUSE names them libgtk-4-1 / libwebkitgtk-6_0-4, so the shared RPM failed to install there with a missing webkitgtk6.0 error. Depend on the soname capabilities the ELF auto-generates instead (libgtk-4.so.1, libwebkitgtk-6.0.so.4), which every distro that ships these libraries Provides, so a single RPM resolves on Fedora, OpenSUSE and RHEL 10 (EPEL) alike.
This commit is contained in:
@@ -111,8 +111,11 @@ nfpms:
|
||||
dst: /usr/share/pixmaps/netbird.png
|
||||
dependencies:
|
||||
- netbird
|
||||
- gtk4
|
||||
- webkitgtk6.0
|
||||
# Depend on auto-generated soname capabilities, not distro package names:
|
||||
# Fedora gtk4/webkitgtk6.0, OpenSUSE libgtk-4-1/libwebkitgtk-6_0-4 and
|
||||
# RHEL 10 (EPEL) all Provide these, so one RPM resolves everywhere they exist.
|
||||
- libgtk-4.so.1()(64bit)
|
||||
- libwebkitgtk-6.0.so.4()(64bit)
|
||||
rpm:
|
||||
signature:
|
||||
key_file: '{{ if index .Env "GPG_RPM_KEY_FILE" }}{{ .Env.GPG_RPM_KEY_FILE }}{{ end }}'
|
||||
|
||||
Reference in New Issue
Block a user