Add a new provides with just the version

[skip changelog]
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-01-27 14:25:59 +01:00
parent efa3d301b9
commit 189f5d16f4

View File

@ -379,6 +379,9 @@ Summary: UEFI boot manager (unsigned version)
Provides: systemd-boot-unsigned-%{efi_arch} = %version-%release Provides: systemd-boot-unsigned-%{efi_arch} = %version-%release
Provides: systemd-boot = %version-%release Provides: systemd-boot = %version-%release
Provides: systemd-boot%{_isa} = %version-%release Provides: systemd-boot%{_isa} = %version-%release
# A provides with just the version, no release or dist, used to build systemd-boot
Provides: version(systemd-boot-unsigned) = %version
Provides: version(systemd-boot-unsigned)%{_isa} = %version
# self-obsoletes to install both packages after split of systemd-boot # self-obsoletes to install both packages after split of systemd-boot
Obsoletes: systemd-udev < 252.2^ Obsoletes: systemd-udev < 252.2^