Skip to content

Commit

Permalink
Merge pull request #1959 from oalbrigt/spec-usr-sbin
Browse files Browse the repository at this point in the history
spec: use /usr/sbin paths for Fedora 41+
  • Loading branch information
oalbrigt committed Jul 23, 2024
2 parents af941d3 + 1703066 commit 902100b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource-agents.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Requires: /sbin/fsck
%endif
Requires: /usr/sbin/fsck.ext2 /usr/sbin/fsck.ext3 /usr/sbin/fsck.ext4
Requires: /usr/sbin/fsck.xfs
%if 0%{?suse_version}
%if 0%{?fedora} > 40 || 0%{?suse_version}
Requires: /usr/sbin/mount.nfs /usr/sbin/mount.nfs4
%else
Requires: /sbin/mount.nfs /sbin/mount.nfs4
Expand All @@ -127,7 +127,7 @@ Requires: /sbin/ip
Requires: /usr/sbin/lvm

# nfsserver / netfs.sh
%if 0%{?suse_version}
%if 0%{?fedora} > 40 || 0%{?suse_version}
Requires: /usr/sbin/rpc.statd
%else
Requires: /sbin/rpc.statd
Expand Down

0 comments on commit 902100b

Please sign in to comment.