From a3524fc837f5e7b68f86b3e0a9d470a94a04c4c8 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Jul 14 2024 09:28:29 +0000 Subject: Use a more precise Recommends for libkxbcommon The old one was the first one added, and referred to the package. The later ones refer to the soname. Let's convert that one to that too. --- diff --git a/systemd.spec b/systemd.spec index a5a8ce7..a43c783 100644 --- a/systemd.spec +++ b/systemd.spec @@ -254,7 +254,6 @@ Requires: %{name}-libs%{_isa} = %{version}-%{release} %{?fedora:Recommends: %{name}-resolved = %{version}-%{release}} Recommends: diffutils Requires: (util-linux-core or util-linux) -Recommends: libxkbcommon%{_isa} Provides: /bin/systemctl Provides: /sbin/shutdown Provides: syslog @@ -309,6 +308,7 @@ Provides: /usr/sbin/telinit %endif # Recommends to replace normal Requires deps for stuff that is dlopen()ed +Recommends: libxkbcommon.so.0%{?elf_suffix} Recommends: libidn2.so.0%{?elf_suffix} Recommends: libidn2.so.0(IDN2_0.0.0)%{?elf_bits} Recommends: libpcre2-8.so.0%{?elf_suffix}