diff --git a/xfsprogs.spec b/xfsprogs.spec index 6d13fc5..4aba76b 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -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.