File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ manpages:
4444 cargo run --release --package xtask -- manpages
4545
4646.PHONY : completion
47- completion :
47+ completion : bin
4848 mkdir -p target/completion
4949 for shell in bash elvish fish powershell zsh; do \
5050 target/release/bootc completion $$ shell > target/completion/bootc.$$ shell; \
Original file line number Diff line number Diff line change @@ -164,8 +164,8 @@ chmod +x %{?buildroot}/%{system_reinstall_bootc_install_podman_path}
164164touch %{?buildroot }/%{_docdir }/bootc/baseimage/base/sysroot/.keepdir
165165find %{?buildroot }/%{_docdir } ! -type d -printf ' %{_docdir}/%%P\n' | sort > bootcdoclist.txt
166166
167- rm -f %{buildroot }/%{_prefix }/share /elvish/lib/bootc.elv
168- rm -f %{buildroot }/%{_prefix }/share /powershell/Modules/Bootc/Bootc.psm1
167+ rm -f %{buildroot }/%{_datadir } /elvish/lib/bootc.elv
168+ rm -f %{buildroot }/%{_datadir } /powershell/Modules/Bootc/Bootc.psm1
169169
170170%if %{with check }
171171%check
193193%endif
194194%{_unitdir }/*
195195%{_mandir }/man* /* bootc*
196- %if 0%{?rhel } > = 9
196+ %if 0%{?rhel } && 0%{? rhel } < = 9
197197%{_datadir }/bash-completion/completions/bootc
198198%{_datadir }/zsh/site-functions/_bootc
199199%{_datadir }/fish/vendor_completions.d/bootc.fish
You can’t perform that action at this time.
0 commit comments