Skip to content

Commit 30ca1fd

Browse files
committed
packaging: Ship system-reinstall-bootc man page in its subpackage
The %{_mandir}/man*/*bootc* glob in the main bootc package also matched system-reinstall-bootc.8, so the man page ended up in the wrong package. Exclude it from bootc and list it under system-reinstall-bootc instead. This also resolves the rpmlint no-manual-page-for-binary and no-documentation warnings for system-reinstall-bootc. Assisted-by: AI Signed-off-by: John Eckersberg <dev@eckersberg.com>
1 parent c0e56cd commit 30ca1fd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎contrib/packaging/bootc.spec‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ fi
213213
%endif
214214
%{_unitdir}/*
215215
%{_mandir}/man*/*bootc*
216+
%exclude %{_mandir}/man8/system-reinstall-bootc.8*
216217
%if 0%{?rhel} && 0%{?rhel} <= 9
217218
%{_datadir}/bash-completion/completions/bootc
218219
%{_datadir}/zsh/site-functions/_bootc
@@ -226,6 +227,7 @@ fi
226227
%files -n system-reinstall-bootc
227228
%{_bindir}/system-reinstall-bootc
228229
%{system_reinstall_bootc_install_podman_path}
230+
%{_mandir}/man8/system-reinstall-bootc.8*
229231

230232
%if %{with tests}
231233
%files tests

0 commit comments

Comments
 (0)