Skip to content

Commit 5d89520

Browse files
renner0ecgwalters
authored andcommitted
fix: old versions don't have these macros
Signed-off-by: renner <renner0@posteo.de>
1 parent 1f5813f commit 5d89520

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

contrib/packaging/bootc.spec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,15 @@ fi
194194
%endif
195195
%{_unitdir}/*
196196
%{_mandir}/man*/*bootc*
197+
%if 0%{?rhel} >= 9
198+
%{_datadir}/bash-completion/completions/bootc
199+
%{_datadir}/zsh/site-functions/_bootc
200+
%{_datadir}/fish/vendor_completions.d/bootc.fish
201+
%else
197202
%{bash_completions_dir}/bootc
198203
%{zsh_completions_dir}/_bootc
199204
%{fish_completions_dir}/bootc.fish
205+
%endif
200206

201207
%files -n system-reinstall-bootc
202208
%{_bindir}/system-reinstall-bootc

0 commit comments

Comments
 (0)