Add compat sbin Provides

In preparation for https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin.
A few packages require those progs.

(cherry picked from commit 427afe6a6649fc512c70ff57ecb06f3917bac3ee)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-04-14 13:09:10 +02:00 committed by Pavel Reichl
parent 7014dc29b0
commit 27a0fe2820

View File

@ -21,6 +21,14 @@ Obsoletes: xfsprogs-qa-devel <= %{version}
Conflicts: xfsdump < 3.0.1
Suggests: xfsprogs-xfs_scrub
%if "%{_sbindir}" == "%{_bindir}"
# Compat symlinks for Requires in other packages.
# We rely on filesystem to create the symlinks for us.
Requires: filesystem(unmerged-sbin-symlinks)
Provides: /usr/sbin/fsck.xfs
Provides: /usr/sbin/mkfs.xfs
%endif
%description
A set of commands to use the XFS filesystem, including mkfs.xfs.