File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,16 @@ cat >%{?buildroot}/%{system_reinstall_bootc_install_podman_path} <<EOF
121121exec dnf -y install podman
122122EOF
123123chmod +x %{?buildroot }/%{system_reinstall_bootc_install_podman_path }
124+ # generate doc file list excluding directories
125+ touch %{?buildroot }/%{_docdir }/bootc/baseimage/base/sysroot/.keepdir
126+ find %{?buildroot }/%{_docdir } ! -type d -printf ' %{_docdir}/%%P\n' > bootcdoclist.txt
124127
125128%if %{with check }
126129%check
127130%cargo_test
128131%endif
129132
130- %files
133+ %files -f bootcdoclist.txt
131134%license LICENSE-MIT
132135%license LICENSE-APACHE
133136%license LICENSE.dependencies
@@ -140,7 +143,6 @@ chmod +x %{?buildroot}/%{system_reinstall_bootc_install_podman_path}
140143%{_prefix }/libexec/libostree/ext/*
141144%endif
142145%{_unitdir }/*
143- %{_docdir }/bootc/*
144146%{_mandir }/man* /bootc*
145147
146148%files -n system-reinstall-bootc
You can’t perform that action at this time.
0 commit comments