Skip to content

Commit

Permalink
packaging/rpm-ostree.spec: Update fuse conditional
Browse files Browse the repository at this point in the history
0%{?rhel} matches rhel derived family distros `el` check seem to break the condition
Plus we need %{defined rhel} to make sure it does not matches fedora.
  • Loading branch information
jmarrero committed Sep 6, 2024
1 parent 9fe53a1 commit 0c20827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/rpm-ostree.spec
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Requires: bubblewrap
# However our code is just calling fuse's fusermount.
# We are updating our spec and code based on the discusion on:
# https://github.com/coreos/rpm-ostree/pull/5047
%if 0%{?rhel} && 0%{?el} <= 9
%if %{defined rhel} && 0%{?rhel} < 10
Requires: fuse
%else
Requires: fuse3
Expand Down

0 comments on commit 0c20827

Please sign in to comment.