Skip to content

Commit f0ef9c5

Browse files
renner0ecgwalters
authored andcommitted
Fix review nits
Signed-off-by: renner <renner0@posteo.de>
1 parent 601ea64 commit f0ef9c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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; \

contrib/packaging/bootc.spec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ chmod +x %{?buildroot}/%{system_reinstall_bootc_install_podman_path}
164164
touch %{?buildroot}/%{_docdir}/bootc/baseimage/base/sysroot/.keepdir
165165
find %{?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
@@ -193,7 +193,7 @@ fi
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

0 commit comments

Comments
 (0)